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-a3cf2f4a3e73master
parent
a5b78a7edb
commit
bbeadc25eb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue