mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
fce3deddff
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36004
9 lines
171 B
Bash
9 lines
171 B
Bash
#!/bin/sh
|
|
|
|
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
|