package/netopeer2: fix sysv init script, does not start
- The netopeer server forks to background by default, no need for '-b'
- The path to the daemon is /usr/sbin, not /usr/bin
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Acked-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 6ddc29708d
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
39d4aaf32f
commit
9292cf956b
@ -8,7 +8,7 @@ NETOPEER2_SERVER_ARGS=""
|
||||
start() {
|
||||
printf 'Starting %s: ' "$DAEMON"
|
||||
|
||||
start-stop-daemon -S -b -q -p $PIDFILE -x "/usr/bin/$DAEMON" \
|
||||
start-stop-daemon -S -q -p $PIDFILE -x "/usr/sbin/$DAEMON" \
|
||||
-- $NETOPEER2_SERVER_ARGS
|
||||
status=$?
|
||||
if [ "$status" -eq 0 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user