summaryrefslogtreecommitdiff
path: root/root
authorsandman <sandman>2002-06-02 01:46:22 (UTC)
committer sandman <sandman>2002-06-02 01:46:22 (UTC)
commitd68ac02bdc9a4c696bc93e83a98fc3e2a9ff7643 (patch) (side-by-side diff)
treecb7752826c2f4bb318af7e2cae684c3d6e33d0d9 /root
parent2205558adae76dc40a5c0f2dd83226a4d1c67eae (diff)
downloadopie-d68ac02bdc9a4c696bc93e83a98fc3e2a9ff7643.zip
opie-d68ac02bdc9a4c696bc93e83a98fc3e2a9ff7643.tar.gz
opie-d68ac02bdc9a4c696bc93e83a98fc3e2a9ff7643.tar.bz2
New suspend/resume scripts for new opiealarm
Diffstat (limited to 'root') (more/less context) (ignore whitespace changes)
-rwxr-xr-xroot/etc/resume-scripts/R46opiealarm3
-rwxr-xr-xroot/etc/suspend-scripts/S46opiealarm2
2 files changed, 2 insertions, 3 deletions
diff --git a/root/etc/resume-scripts/R46opiealarm b/root/etc/resume-scripts/R46opiealarm
index e3ac236..c258047 100755
--- a/root/etc/resume-scripts/R46opiealarm
+++ b/root/etc/resume-scripts/R46opiealarm
@@ -2,5 +2,4 @@
# Starts opiealarm, which only runs while the iPaq sleeps
# and wakes it up when the RTC alarm goes off.
-PID=`cat /var/run/opiealarm.pid`
-[ -n "$PID" ] && kill $PID
+/opt/QtPalmtop/bin/opiealarm -r
diff --git a/root/etc/suspend-scripts/S46opiealarm b/root/etc/suspend-scripts/S46opiealarm
index 5e01ea5..9b936e4 100755
--- a/root/etc/suspend-scripts/S46opiealarm
+++ b/root/etc/suspend-scripts/S46opiealarm
@@ -2,4 +2,4 @@
# Starts opiealarm, which only runs while the iPaq sleeps
# and wakes it up when the RTC alarm goes off.
-/opt/QtPalmtop/bin/opiealarm
+/opt/QtPalmtop/bin/opiealarm -s