svoid doPreferredComputerShutDown() { S s = trim(loadTextFile(preferredShutDownMethodFile())); if (empty(s)) infoBox("No shut down method set."); else if "Power Off" cleanPowerOff(); else if "Suspend to RAM" suspendToRAM(); else if "Suspend to disk" suspendToDisk(); else if "Never shut down" infoBox("Never shut down!"); else infoBox("Unknown shut down method: " + s); }