diff options
author | Kenneth Chan <kenneth.t.chan@gmail.com> | 2017-05-21 08:30:21 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-05-27 07:29:24 +0700 |
commit | ee6bade01d49e64d9b08fea2010ad19e4229820a (patch) | |
tree | 7698fdf2cb419f34a69d9b6c208914c10f6afdb9 /system/sleepd/README | |
parent | d983f44f67a6763bb6c19abc2168e3adb12762d0 (diff) |
system/sleepd: Added (power management daemon).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/sleepd/README')
-rw-r--r-- | system/sleepd/README | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/system/sleepd/README b/system/sleepd/README new file mode 100644 index 000000000000..593d544f7ef3 --- /dev/null +++ b/system/sleepd/README @@ -0,0 +1,15 @@ +sleepd is a daemon to to put a laptop to sleep if it is not +being used or if the battery is low. + +You'll need to add the following lines to /etc/rc.d/rc.local. +# Start sleepd +if [ -x /etc/rc.d/rc.sleepd ]; then + /etc/rc.d/rc.sleepd start +fi + +You should then add the following to /etc/rc.d/rc.local_shutdown. +# Stop sleepd +if [ -x /etc/rc.d/rc.sleepd ]; then + /etc/rc.d/rc.sleepd stop +fi + |