projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
packages: sort network related packages into package/network/
[openwrt.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
new file mode 100644
(file)
index 0000000..
b5376cc
--- /dev/null
+++ b/
package/network/services/hostapd/files/wps-hotplug.sh
@@ -0,0
+1,6
@@
+if [ "$ACTION" = "pressed" -a "$BUTTON" = "wps" ]; then
+ for dir in /var/run/hostapd-*; do
+ [ -d "$dir" ] || continue
+ hostapd_cli -p "$dir" wps_pbc
+ done
+fi