Archived
1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Files
archive/package/hostapd/files/wps-hotplug.sh
Felix Fietkau c567ee2490 merge mac80211, iw, hostapd from trunk to backfire
SVN-Revision: 23733
2010-10-31 12:47:07 +00:00

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