summaryrefslogtreecommitdiff
path: root/root
authorsandman <sandman>2002-06-02 01:42:05 (UTC)
committer sandman <sandman>2002-06-02 01:42:05 (UTC)
commit2205558adae76dc40a5c0f2dd83226a4d1c67eae (patch) (side-by-side diff)
treee7e96aa694bab035c2c75f3c1b6dbceea07d4270 /root
parent385a3d8034003a412fa73840bf985582bf6b4547 (diff)
downloadopie-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.
Diffstat (limited to 'root') (more/less context) (show whitespace changes)
-rwxr-xr-xroot/etc/init.d/opieatd2
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
@@ -1,15 +1,15 @@
#!/bin/sh
PATH=/usr/bin:/bin
HOME=/root
case "$1" in
start)
/opt/QtPalmtop/bin/opieatd &
;;
stop)
- killall opieatd
+ kill `cat /var/run/opieatd.pid`
;;
esac
exit 0