[Packages] multimedia/uvc-streamer: Fix init script

git-svn-id: svn://svn.openwrt.org/openwrt/packages@10127 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
olli 2008-01-06 11:19:53 +00:00
parent 1b34950dba
commit 749e30b8df

View File

@ -33,7 +33,7 @@ start_service() {
append_bool "$section" framespersecond "-f"
append_string "$section" port "-p"
config_get_bool "enabled" "$section" "enabled" '1'
[ "$enabled" -gt 0 ] && $SSD -S -p $PIDF -q -x $PROG -- -b $args
[ "$enabled" -gt 0 ] && sleep 5s && $SSD -S -p $PIDF -q -x $PROG -- -b $args &
}
stop_service() {