Minor fixes, sort of preparing for removing the IPs of no-longer-existing contexts.
[util-vserver.git] / sysv / vip6-autod
index b3dfe69..6f91016 100755 (executable)
@@ -30,8 +30,11 @@ function start()
 function stop()
 {
     _beginResult $"Stopping $prog"
-    killall $prog
+    kill `cat $__PKGSTATEDIR/../vip6-autod.pid` &>/dev/null
+    _endResult $?
+    local retval=$?
     $_RM -f "$lockfile"
+    return $retval
 }
 
 function restart()