projects
/
openwrt
/
staging
/
yousong.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hostapd: change the wildcard for the hostapd control socket directory
[openwrt/staging/yousong.git]
/
package
/
network
/
services
/
hostapd
/
files
/
wps-hotplug.sh
diff --git
a/package/network/services/hostapd/files/wps-hotplug.sh
b/package/network/services/hostapd/files/wps-hotplug.sh
index ffd3cf929bb4a1bdf9f4de95bc4f11e3f1e59d26..058264a8dbbcffdebd038e5d9028da50c6592f25 100644
(file)
--- 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