[packages] multimedia/uvc-streamer: Actually use the start-stop-daemon. Seems the Busybox SSD works with multiple PIDs now.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12679 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
2250517c26
commit
3ce08b93c8
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user