aboutsummaryrefslogtreecommitdiffstats
path: root/packages/opie-alarm/opie-alarm/01opiealarm
blob: 4ab70fe3a8f8fd5325d87ea2e3a51f4d39ae6c44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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

: exit 0