aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorStijn Tintel <stijn@linux-ipv6.be>2017-08-08 07:56:06 +0200
committerStijn Tintel <stijn@linux-ipv6.be>2017-08-10 16:35:53 +0200
commite7373e489d8a215402d6b0c408a26188342c7c17 (patch)
tree95bfd1336e65b1907e5e872da651359ee02f4be7 /package
parent3e9c06d78c5406cfd6aa88d4b332cb53d97420e1 (diff)
downloadupstream-e7373e489d8a215402d6b0c408a26188342c7c17.tar.gz
upstream-e7373e489d8a215402d6b0c408a26188342c7c17.tar.bz2
upstream-e7373e489d8a215402d6b0c408a26188342c7c17.zip
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@linux-ipv6.be>
Diffstat (limited to 'package')
-rw-r--r--package/network/services/hostapd/files/hostapd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh
index 8e3f88a115..0030516ccd 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} \