openwrt/package/base-files/files/etc/rc.button/wps
John Crispin 243179f9f6 base-files: add a generic wps button handler
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38726
2013-11-11 12:19:10 +00:00

7 lines
108 B
Bash
Executable File

#!/bin/sh
for dir in /var/run/hostapd-*; do
[ -d "$dir" ] || continue
hostapd_cli -p "$dir" wps_pbc
done