* luci-0.8: backport olsrd init fix

This commit is contained in:
Jo-Philipp Wich 2008-09-14 22:54:55 +00:00
parent c6793efe93
commit edd5f20c2a

View file

@ -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() {