From a8c65999503fa9ff34db3069c53bbc1685b521ec Mon Sep 17 00:00:00 2001 From: sandman Date: Sun, 04 Aug 2002 02:28:09 +0000 Subject: Forgot this file in the last commit (fixes for SIGTERM handling) --- 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..." - killproc qpe + if [ -f /var/run/opie.pid ]; then + kill -TERM `cat /var/run/opie.pid` + else + killproc qpe + fi killproc opie-login ;; *) -- cgit v0.9.0.2