summaryrefslogtreecommitdiff
path: root/root/etc/suspend-scripts
Side-by-side diff
Diffstat (limited to 'root/etc/suspend-scripts') (more/less context) (ignore whitespace changes)
-rwxr-xr-xroot/etc/suspend-scripts/S46opiealarm7
1 files changed, 7 insertions, 0 deletions
diff --git a/root/etc/suspend-scripts/S46opiealarm b/root/etc/suspend-scripts/S46opiealarm
new file mode 100755
index 0000000..504f9c4
--- a/dev/null
+++ b/root/etc/suspend-scripts/S46opiealarm
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Starts opiealarm, which only runs while the iPaq sleeps
+# and wakes it up when the RTC alarm goes off.
+
+export HOME=/root
+start-stop-daemon --make-pidfile --start --quiet --pidfile /var/run/opiealarm.pid --exec /opt/QtPalmtop/bin/opiealarm &
+