openwrtv4/package/base-files/files/etc/rc.button/wps

7 lines
108 B
Text
Raw Normal View History

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