summaryrefslogtreecommitdiff
path: root/root
Side-by-side diff
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
@@ -1,6 +1,5 @@
#!/bin/sh
# 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
@@ -1,5 +1,5 @@
#!/bin/sh
# 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