summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rwxr-xr-xroot/etc/init.d/opie4
1 files changed, 4 insertions, 0 deletions
diff --git a/root/etc/init.d/opie b/root/etc/init.d/opie
index eed69c2..09aebe0 100755
--- a/root/etc/init.d/opie
+++ b/root/etc/init.d/opie
@@ -53,7 +53,11 @@ case $1 in
;;
'stop')
echo "Killing Opie..."
+ if [ -f /var/run/opie.pid ]; then
+ kill -TERM `cat /var/run/opie.pid`
+ else
killproc qpe
+ fi
killproc opie-login
;;
*)