author | sandman <sandman> | 2002-06-02 01:42:05 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-06-02 01:42:05 (UTC) |
commit | 2205558adae76dc40a5c0f2dd83226a4d1c67eae (patch) (unidiff) | |
tree | e7e96aa694bab035c2c75f3c1b6dbceea07d4270 /root/etc/init.d | |
parent | 385a3d8034003a412fa73840bf985582bf6b4547 (diff) | |
download | opie-2205558adae76dc40a5c0f2dd83226a4d1c67eae.zip opie-2205558adae76dc40a5c0f2dd83226a4d1c67eae.tar.gz opie-2205558adae76dc40a5c0f2dd83226a4d1c67eae.tar.bz2 |
Reworked the whole system and introduced re-suspend. Effect is that the
iPAQ is re-suspended when woken up by the RTC (as opposed to the button)
and on AC. Timeout is currently hardcoded to 120sec.
-rwxr-xr-x | root/etc/init.d/opieatd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/root/etc/init.d/opieatd b/root/etc/init.d/opieatd index 83f6035..765426c 100755 --- a/root/etc/init.d/opieatd +++ b/root/etc/init.d/opieatd | |||
@@ -5,11 +5,11 @@ HOME=/root | |||
5 | 5 | ||
6 | case "$1" in | 6 | case "$1" in |
7 | start) | 7 | start) |
8 | /opt/QtPalmtop/bin/opieatd & | 8 | /opt/QtPalmtop/bin/opieatd & |
9 | ;; | 9 | ;; |
10 | stop) | 10 | stop) |
11 | killall opieatd | 11 | kill `cat /var/run/opieatd.pid` |
12 | ;; | 12 | ;; |
13 | esac | 13 | esac |
14 | 14 | ||
15 | exit 0 | 15 | exit 0 |