summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xroot/etc/apm/event.d/01opiealarm11
1 files changed, 11 insertions, 0 deletions
diff --git a/root/etc/apm/event.d/01opiealarm b/root/etc/apm/event.d/01opiealarm
new file mode 100755
index 0000000..323abf7
--- a/dev/null
+++ b/root/etc/apm/event.d/01opiealarm
@@ -0,0 +1,11 @@
1#!/bin/sh
2# Starts opiealarm, which only runs while the iPaq sleeps
3# and wakes it up when the RTC alarm goes off.
4
5if [ "$1" = suspend ]; then
6 /opt/QtPalmtop/bin/opiealarm -s -f
7elif [ "$1" = resume ] && [ "$2" != standby ]; then
8 /opt/QtPalmtop/bin/opiealarm -r -a 120
9fi
10
11