hostapd: cosmetic, fix overlapped messages on stop

When bringing down the wireless interface used for hostapd, the messages
overlap:

# ifdown wlan1
Stopping HOSTAP Daemon: stopped /usr/sbin/hostapd (pid 569)
hostapd.

Adding the 'quiet' option to start-stop-daemon command fixes the
cosmetic issue.

# ifdown wlan1
Stopping HOSTAP Daemon: hostapd.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2017-07-14 18:05:46 +02:00
parent d7cd1c0204
commit 4b7cf7cd2b
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ case "$1" in
;;
stop)
echo -n "Stopping $DESC: "
start-stop-daemon -K --oknodo -x $DAEMON -p ${PIDFILE}
start-stop-daemon -K --oknodo -q -x $DAEMON -p ${PIDFILE}
echo "$NAME."
;;
restart)