summaryrefslogtreecommitdiff
path: root/root/etc/apm/event.d/01opiealarm
blob: 323abf72590db403e53b74bc290a4c8b28bfc954 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# Starts opiealarm, which only runs while the iPaq sleeps 
# and wakes it up when the RTC alarm goes off.

if [ "$1" = suspend ]; then
	/opt/QtPalmtop/bin/opiealarm -s -f
elif [ "$1" = resume ] && [ "$2" != standby ]; then
	/opt/QtPalmtop/bin/opiealarm -r -a 120
fi