[source] wpa_supplicant: log to syslog instead of stdout

LEDE Commits lede-commits at lists.infradead.org
Thu Aug 10 07:37:54 PDT 2017


stintel pushed a commit to source.git, branch master:
https://git.lede-project.org/e7373e489d8a215402d6b0c408a26188342c7c17

commit e7373e489d8a215402d6b0c408a26188342c7c17
Author: Stijn Tintel <stijn at linux-ipv6.be>
AuthorDate: Tue Aug 8 07:56:06 2017 +0200

    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 <stijn at linux-ipv6.be>
---
 package/network/services/hostapd/files/hostapd.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh
index 8e3f88a..0030516 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} \



More information about the lede-commits mailing list