From 2205558adae76dc40a5c0f2dd83226a4d1c67eae Mon Sep 17 00:00:00 2001
From: sandman <sandman>
Date: Sun, 02 Jun 2002 01:42:05 +0000
Subject: 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.
---
(limited to 'root')

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
@@ -8,7 +8,7 @@ case "$1" in
     /opt/QtPalmtop/bin/opieatd &
     ;;
   stop)
-    killall opieatd
+    kill `cat /var/run/opieatd.pid`
     ;;
 esac
 
--
cgit v0.9.0.2