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
This commit is contained in:
parent
9381eaccb3
commit
a26242cb63
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
if [ "$ACTION" = "pressed" -a "$BUTTON" = "wps" ]; then
|
if [ "$ACTION" = "pressed" -a "$BUTTON" = "wps" ]; then
|
||||||
for dir in /var/run/hostapd-*; do
|
for dir in /var/run/hostapd*; do
|
||||||
[ -d "$dir" ] || continue
|
[ -d "$dir" ] || continue
|
||||||
hostapd_cli -p "$dir" wps_pbc
|
hostapd_cli -p "$dir" wps_pbc
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue