diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-12-02 13:08:14 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-12-02 13:08:14 +0000 |
commit | a26242cb6390ec0b5b4b69a9d35ecc2023f68bb5 (patch) | |
tree | 55f38c297633f9c5edf2fd19a532dee18df73d92 /package/network/services/hostapd | |
parent | 9381eaccb32a806a1fad390c329daa37f4bf99a6 (diff) | |
download | mtk-20170518-a26242cb6390ec0b5b4b69a9d35ecc2023f68bb5.zip mtk-20170518-a26242cb6390ec0b5b4b69a9d35ecc2023f68bb5.tar.gz mtk-20170518-a26242cb6390ec0b5b4b69a9d35ecc2023f68bb5.tar.bz2 |
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/network/services/hostapd')
-rw-r--r-- | package/network/services/hostapd/files/wps-hotplug.sh | 2 |
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 ffd3cf9..058264a 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 |