mirror of
https://github.com/LiBwrt-op/openwrt-6.x.git
synced 2026-01-03 17:51:31 +00:00
prepare for using /var/run/hostapd instead of /var/run/hostapd-phy* Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38986
9 lines
170 B
Bash
9 lines
170 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
|