From: Stijn Tintel Date: Tue, 8 Aug 2017 05:56:06 +0000 (+0200) Subject: wpa_supplicant: log to syslog instead of stdout X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e7373e489d8a215402d6b0c408a26188342c7c17;p=openwrt%2Fstaging%2Fblogic.git wpa_supplicant: log to syslog instead of stdout While debugging an issue with a client device, wpa_supplicant did not seem to log anything at all. Make wpa_supplicant log to syslog instead of stdout, to make debugging easier and to be consistent with hostapd. Signed-off-by: Stijn Tintel --- diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh index 8e3f88a115f4..0030516ccd6b 100644 --- a/package/network/services/hostapd/files/hostapd.sh +++ b/package/network/services/hostapd/files/hostapd.sh @@ -758,7 +758,7 @@ wpa_supplicant_run() { _wpa_supplicant_common "$ifname" - /usr/sbin/wpa_supplicant -B \ + /usr/sbin/wpa_supplicant -B -s \ ${network_bridge:+-b $network_bridge} \ -P "/var/run/wpa_supplicant-${ifname}.pid" \ -D ${_w_driver:-wext} \