I have been using this:
$ cat /etc/pm/config.d/tormod-shutdown 
HIBERNATE_MODE="shutdown"

Although your script probably will work fine, maybe it is better to make
use of this variable, and additionally, make sure a setting in a
config.d file is not overruled by your system quirk?

-- 
/sys/power/disk needs "shutdown" instead of "platform"
https://bugs.launchpad.net/bugs/237458
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to