Browse Source

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 <[email protected]>
Stijn Tintel 8 years ago
parent
commit
e7373e489d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/network/services/hostapd/files/hostapd.sh

+ 1 - 1
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} \