1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-22 23:19:54 +02:00
openwrt-xburst/package/network/services/hostapd/files/wps-hotplug.sh

7 lines
160 B
Bash
Raw Normal View History

if [ "$ACTION" = "pressed" -a "$BUTTON" = "wps" ]; then
for dir in /var/run/hostapd-*; do
[ -d "$dir" ] || continue
hostapd_cli -p "$dir" wps_pbc
done
fi