1. Yes, if /lib/systemd/system-sleep/ doesn't exist, create it with mkdir.
2. Yes.
3. No, unless for some reason you want to limit the script to suspend only, or
something. Here's my script:
#!/bin/sh
case $1/$2 in
pre/*)
;;
post/*)
hdparm -B 254 -S 120 /dev/sdb
;;
esac
4. Yes, with chmod u+x <filename>.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1511703
Title:
Standby timeout setting ignored after system suspend/resume
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-disk-utility/+bug/1511703/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs