mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 23:12:32 +00:00
405e21d167
SVN-Revision: 33688
7 lines
160 B
Bash
7 lines
160 B
Bash
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
|