blob: 24af80e55bec2915fc038c99354a4aa8170b0799 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
if [ "$ACTION" = "pressed" -a "$BUTTON" = "wps" ]; then
cd /var/run/hostapd
for socket in *; do
[ -S "$socket" ] || continue
hostapd_cli -i "$socket" wps_pbc
done
fi
return 0
|