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:
parent
d7cd1c0204
commit
4b7cf7cd2b
|
|
@ -34,7 +34,7 @@ case "$1" in
|
||||||
;;
|
;;
|
||||||
stop)
|
stop)
|
||||||
echo -n "Stopping $DESC: "
|
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."
|
echo "$NAME."
|
||||||
;;
|
;;
|
||||||
restart)
|
restart)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue