Root/package/hostapd/files/wps-hotplug.sh

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

Archive Download this file



interactive