projects
/
openwrt
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
all targets: use numerically prefixed uci-defaults file names to better control order...
[openwrt/openwrt.git]
/
target
/
linux
/
lantiq
/
base-files
/
etc
/
uci-defaults
/
03_wireless-wps
1
. /lib/functions.sh
2
. /lib/functions/lantiq.sh
3
4
set_wps() {
5
uci set wireless.$1.wps_pushbutton=0
6
uci set wireless.$1.wps_device_name="OpenWrt - $(lantiq_board_name)"
7
}
8
9
board=$(lantiq_board_id)
10
case $board in
11
WBMR)
12
config_load wireless
13
config_foreach set_wps wifi-iface
14
uci commit wireless
15
;;
16
esac