author | sandman <sandman> | 2002-06-02 01:46:22 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-06-02 01:46:22 (UTC) |
commit | d68ac02bdc9a4c696bc93e83a98fc3e2a9ff7643 (patch) (unidiff) | |
tree | cb7752826c2f4bb318af7e2cae684c3d6e33d0d9 | |
parent | 2205558adae76dc40a5c0f2dd83226a4d1c67eae (diff) | |
download | opie-d68ac02bdc9a4c696bc93e83a98fc3e2a9ff7643.zip opie-d68ac02bdc9a4c696bc93e83a98fc3e2a9ff7643.tar.gz opie-d68ac02bdc9a4c696bc93e83a98fc3e2a9ff7643.tar.bz2 |
New suspend/resume scripts for new opiealarm
-rwxr-xr-x | root/etc/resume-scripts/R46opiealarm | 3 | ||||
-rwxr-xr-x | root/etc/suspend-scripts/S46opiealarm | 2 |
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 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
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 | PID=`cat /var/run/opiealarm.pid` | 5 | /opt/QtPalmtop/bin/opiealarm -r |
6 | [ -n "$PID" ] && kill $PID | ||
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 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
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 | /opt/QtPalmtop/bin/opiealarm | 5 | /opt/QtPalmtop/bin/opiealarm -s |