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
Desktop Bugs, which is subscribed to gnome-disk-utility in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to