mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
base-files: add a generic wps button handler
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38726 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
0cfaf503c3
commit
07a508345d
6
package/base-files/files/etc/rc.button/wps
Executable file
6
package/base-files/files/etc/rc.button/wps
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
for dir in /var/run/hostapd-*; do
|
||||
[ -d "$dir" ] || continue
|
||||
hostapd_cli -p "$dir" wps_pbc
|
||||
done
|
||||
Loading…
x
Reference in New Issue
Block a user