aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-12-02 13:08:14 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-12-02 13:08:14 +0000
commita26242cb6390ec0b5b4b69a9d35ecc2023f68bb5 (patch)
tree55f38c297633f9c5edf2fd19a532dee18df73d92 /package
parent9381eaccb32a806a1fad390c329daa37f4bf99a6 (diff)
downloadupstream-a26242cb6390ec0b5b4b69a9d35ecc2023f68bb5.tar.gz
upstream-a26242cb6390ec0b5b4b69a9d35ecc2023f68bb5.tar.bz2
upstream-a26242cb6390ec0b5b4b69a9d35ecc2023f68bb5.zip
hostapd: change the wildcard for the hostapd control socket directory
prepare for using /var/run/hostapd instead of /var/run/hostapd-phy* Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38986
Diffstat (limited to 'package')
-rw-r--r--package/network/services/hostapd/files/wps-hotplug.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/hostapd/files/wps-hotplug.sh b/package/network/services/hostapd/files/wps-hotplug.sh
index ffd3cf929b..058264a8db 100644
--- a/package/network/services/hostapd/files/wps-hotplug.sh
+++ b/package/network/services/hostapd/files/wps-hotplug.sh
@@ -1,7 +1,7 @@
#!/bin/sh
if [ "$ACTION" = "pressed" -a "$BUTTON" = "wps" ]; then
- for dir in /var/run/hostapd-*; do
+ for dir in /var/run/hostapd*; do
[ -d "$dir" ] || continue
hostapd_cli -p "$dir" wps_pbc
done