diff options
Diffstat (limited to 'package/base-files')
-rwxr-xr-x | package/base-files/files/etc/rc.button/wps | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/base-files/files/etc/rc.button/wps b/package/base-files/files/etc/rc.button/wps new file mode 100755 index 0000000000..c913d5bab3 --- /dev/null +++ b/package/base-files/files/etc/rc.button/wps @@ -0,0 +1,6 @@ +#!/bin/sh + +for dir in /var/run/hostapd-*; do + [ -d "$dir" ] || continue + hostapd_cli -p "$dir" wps_pbc +done |