* luci-0.8: backport olsrd init fix
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 14 Sep 2008 22:54:55 +0000 (22:54 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 14 Sep 2008 22:54:55 +0000 (22:54 +0000)
contrib/package/olsrd-luci/files/etc/init.d/olsrd

index 54f5502bfcafd1c487fbd34e82db1f0dd559f627..c94c2a31a12a2e3fffb530de3177733d933063e9 100755 (executable)
@@ -562,12 +562,12 @@ start() {
        [ -z "$OLSRD_CONFIG_FILE" ] && return 1
 
        ### start olsrd
-       start-stop-daemon -b -m -p $PID -x $BIN -S -- -f $CONF -nofork
+       start-stop-daemon -q -b -m -p $PID -x $BIN -S -- -f $CONF -nofork
 }
 
 stop() {
        ### stop olsrd
-       start-stop-daemon -q -p $PID -a ${BIN##*/} -K
+       start-stop-daemon -q -p $PID -x $BIN -K
 }
 
 restart() {