mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-17 20:34:36 +00:00
base-files: add a generic wps button handler
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38726
This commit is contained in:
parent
40031fdf9b
commit
243179f9f6
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…
Reference in New Issue
Block a user