author | sandman <sandman> | 2002-06-01 19:03:44 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-06-01 19:03:44 (UTC) |
commit | 508c023b2be72f82da5c2d41bc077238a279a206 (patch) (unidiff) | |
tree | 3c8b1358d1434ac95c51c49f062f95f2eb900223 /root/etc | |
parent | 9c2cdd8890f0508dd00e2bde8e1cfa85d1a814d1 (diff) | |
download | opie-508c023b2be72f82da5c2d41bc077238a279a206.zip opie-508c023b2be72f82da5c2d41bc077238a279a206.tar.gz opie-508c023b2be72f82da5c2d41bc077238a279a206.tar.bz2 |
Modified to work with enhanced opiealarm daemon
-rwxr-xr-x | root/etc/resume-scripts/R46opiealarm | 3 | ||||
-rwxr-xr-x | root/etc/suspend-scripts/S46opiealarm | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/root/etc/resume-scripts/R46opiealarm b/root/etc/resume-scripts/R46opiealarm index e56c5bf..e3ac236 100755 --- a/root/etc/resume-scripts/R46opiealarm +++ b/root/etc/resume-scripts/R46opiealarm | |||
@@ -2,4 +2,5 @@ | |||
2 | # Starts opiealarm, which only runs while the iPaq sleeps | 2 | # Starts opiealarm, which only runs while the iPaq sleeps |
3 | # and wakes it up when the RTC alarm goes off. | 3 | # and wakes it up when the RTC alarm goes off. |
4 | 4 | ||
5 | start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/opiealarm.pid --exec /opt/QtPalmtop/bin/opiealarm | 5 | PID=`cat /var/run/opiealarm.pid` |
6 | [ -n "$PID" ] && kill $PID | ||
diff --git a/root/etc/suspend-scripts/S46opiealarm b/root/etc/suspend-scripts/S46opiealarm index 504f9c4..5e01ea5 100755 --- a/root/etc/suspend-scripts/S46opiealarm +++ b/root/etc/suspend-scripts/S46opiealarm | |||
@@ -2,6 +2,4 @@ | |||
2 | # Starts opiealarm, which only runs while the iPaq sleeps | 2 | # Starts opiealarm, which only runs while the iPaq sleeps |
3 | # and wakes it up when the RTC alarm goes off. | 3 | # and wakes it up when the RTC alarm goes off. |
4 | 4 | ||
5 | export HOME=/root | 5 | /opt/QtPalmtop/bin/opiealarm |
6 | start-stop-daemon --make-pidfile --start --quiet --pidfile /var/run/opiealarm.pid --exec /opt/QtPalmtop/bin/opiealarm & | ||
7 | |||