package/netopeer2: fix sysv init script, does not start
PATCH 1/1 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
--- package/netopeer2/S52netopeer2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/netopeer2/S52netopeer2 +1 -1
@@ -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
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Joachim,
Am Di., 31. Jan. 2023 um 15:20 Uhr schrieb Joachim Wiberg <[email protected]>:
Quoted 5 lines
- The netopeer server forks to background by default, no need for '-b'
- The path to the daemon is/usr/sbin, not/usr/binSigned-off-by Joachim Wiberg <[email protected]>
Quoted 18 lines
--- package/netopeer2/S52netopeer2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)package/netopeer2/S52netopeer2 +1
-2@@ -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 --
Quoted 2 lines
2.34.1
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Yann E. MORIN
AppliedJoachim, All,
On 2023-01-31 15:20 +0100, Joachim Wiberg spake thusly:
Quoted 4 lines
- The netopeer server forks to background by default, no need for '-b'
- The path to the daemon is/usr/sbin, not/usr/binSigned-off-by Joachim Wiberg <[email protected]>
Applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 24 lines
--- package/netopeer2/S52netopeer2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)package/netopeer2/S52netopeer2 +1
-1@@ -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 ]; thenSignature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Joachim" == Joachim Wiberg <[email protected]> writes:
- The netopeer server forks to background by default, no need for '-b'
- The path to the daemon is/usr/sbin, not/usr/binSigned-off-by Joachim Wiberg <[email protected]>
Committed to 2022.11.x and 2022.02.x, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot