--- init-functions~     2005-08-10 13:02:35.000000000 -0400
+++ init-functions      2005-08-12 15:44:46.000000000 -0400
@@ -113,12 +113,12 @@
     if [ $2 ]; then
         sig=$(echo $2 | sed -e 's/^-\(.*\)/\1/')
         sig=$(echo $sig | sed -e 's/^SIG\(.*\)/\1/')
-        /sbin/start-stop-daemon --stop --pidfile "$pidfile" --signal $sig 
--quiet
+        /sbin/start-stop-daemon --stop --pidfile "$pidfile" --signal $sig 
--quiet --exec "$1"
         status="$?"
         [ "$status" = 1 ] && return 3 # program is not running
         return 0
     else
-        /sbin/start-stop-daemon --stop --pidfile "$pidfile" --retry 5 --quiet 
--oknodo
+        /sbin/start-stop-daemon --stop --pidfile "$pidfile" --retry 5 --quiet 
--oknodo --exec "$1"
     fi
 }

Sorry about the first, incomplete one.  Vacation mode is making me sloppy.
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        [EMAIL PROTECTED] |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

Reply via email to