* luci/contrib/olsr: fix initscript stop action
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 14 Sep 2008 22:53:42 +0000 (22:53 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 14 Sep 2008 22:53:42 +0000 (22:53 +0000)
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() {