slackbuilds_ponce/system/sleepd
B. Watson a42aeadb4b
system/sleepd: Fix 15.0 build.
Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2022-02-12 00:29:39 +07:00
..
doinst.sh
fix_acpica_version.patch
rc.sleepd
README
slack-desc
sleepd.info
sleepd.SlackBuild system/sleepd: Fix 15.0 build. 2022-02-12 00:29:39 +07:00

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