slackbuilds/system/sleepd
Heinz Wiesinger 63daf9f79a All: Support $PRINT_PACKAGE_NAME env var
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
2021-07-17 21:55:09 +02:00
..
README
doinst.sh
fix_acpica_version.patch system/sleepd: Fix bug. 2020-09-04 00:43:53 +07:00
rc.sleepd system/sleepd: Fix bug. 2020-09-04 00:43:53 +07:00
slack-desc
sleepd.SlackBuild All: Support $PRINT_PACKAGE_NAME env var 2021-07-17 21:55:09 +02:00
sleepd.info

README

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