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 | bbeadc25eb9d229228e887086f7c4ae8ec398ec1 (patch) | |
tree | 05d756446d32d80c34da224c4b44e793de432257 /package/network/services/hostapd | |
parent | a5b78a7edb189f3b1ea5796d3c0edb5ac6c4edce (diff) | |
download | master-187ad058-bbeadc25eb9d229228e887086f7c4ae8ec398ec1.tar.gz master-187ad058-bbeadc25eb9d229228e887086f7c4ae8ec398ec1.tar.bz2 master-187ad058-bbeadc25eb9d229228e887086f7c4ae8ec398ec1.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38986 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 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 |