* luci/contrib/olsr: fix initscript stop action
[project/luci.git] / contrib / package / olsrd-luci / files / etc / init.d / olsrd
index 54f5502..c94c2a3 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() {