[packages] multimedia/uvc-streamer: Actually use the start-stop-daemon. Seems the...
authorOliver Ertl <oliver@ertl-net.net>
Wed, 24 Sep 2008 10:16:27 +0000 (10:16 +0000)
committerOliver Ertl <oliver@ertl-net.net>
Wed, 24 Sep 2008 10:16:27 +0000 (10:16 +0000)
SVN-Revision: 12679

multimedia/uvc-streamer/files/uvc-streamer.init

index 065b7fe..b071d2c 100644 (file)
@@ -1,5 +1,5 @@
 #!/bin/sh /etc/rc.common
-# Copyright (C) 2007 OpenWrt.org
+# Copyright (C) 2008 OpenWrt.org
 START=50
 
 SSD=start-stop-daemon
@@ -37,9 +37,7 @@ start_service() {
 }
 
 stop_service() {
-       killall $NAME 2>&1 > /dev/null
-       # FIXME: Fix Busybox start-stop-daemon to work with multiple PIDs
-       # $SSD -K -p $PIDF -q
+       $SSD -K -p $PIDF
 }
 
 start() {