mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
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>
This commit is contained in:
committed by
Yann E. MORIN
parent
b89eff429d
commit
6ddc29708d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user