diff --git a/package/iwd/S40iwd b/package/iwd/S40iwd index 7858ff3e42..de5a1efb6f 100644 --- a/package/iwd/S40iwd +++ b/package/iwd/S40iwd @@ -10,7 +10,8 @@ IWD_ARGS="" start() { printf 'Starting %s: ' "$DAEMON" mkdir -p /tmp/iwd/hotspot - start-stop-daemon -b -m -S -q -p "$PIDFILE" -x "/usr/libexec/$DAEMON" \ + start-stop-daemon --start --background --make-pidfile \ + --pidfile "$PIDFILE" --exec "/usr/libexec/$DAEMON" \ -- $IWD_ARGS status=$? if [ "$status" -eq 0 ]; then @@ -23,7 +24,7 @@ start() { stop() { printf 'Stopping %s: ' "$DAEMON" - start-stop-daemon -K -q -p "$PIDFILE" + start-stop-daemon --stop --quiet --pidfile "$PIDFILE" status=$? if [ "$status" -eq 0 ]; then echo "OK"