aboutsummaryrefslogtreecommitdiff
path: root/system/sleepd/README
diff options
context:
space:
mode:
Diffstat (limited to 'system/sleepd/README')
-rw-r--r--system/sleepd/README15
1 files changed, 15 insertions, 0 deletions
diff --git a/system/sleepd/README b/system/sleepd/README
new file mode 100644
index 0000000000000..593d544f7ef34
--- /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
+