[packages] multimedia/uvc-streamer: Actually use the start-stop-daemon. Seems the...
authorolli <olli@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 24 Sep 2008 10:16:27 +0000 (10:16 +0000)
committerolli <olli@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 24 Sep 2008 10:16:27 +0000 (10:16 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12679 3c298f89-4303-0410-b956-a3cf2f4a3e73

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() {