projects
/
oweals
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
uhttpd: update to the latest version, adds a small json handler fix
[oweals/openwrt.git]
/
package
/
network
/
services
/
hostapd
/
files
/
wps-hotplug.sh
1
#!/bin/sh
2
3
if [ "$ACTION" = "pressed" -a "$BUTTON" = "wps" ]; then
4
cd /var/run/hostapd
5
for socket in *; do
6
[ -S "$socket" ] || continue
7
hostapd_cli -i "$socket" wps_pbc
8
done
9
fi
10
11
return 0