blob: f2412d7bc21674f7756b71e99a8f78b3c01331f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
. /lib/functions.sh
. /lib/functions/lantiq.sh
set_wps() {
uci set wireless.$1.wps_pushbutton=0
uci set wireless.$1.wps_device_name="OpenWrt - $(lantiq_board_name)"
}
board=$(lantiq_board_id)
case $board in
WBMR)
config_load wireless
config_foreach set_wps wifi-iface
uci commit wireless
;;
esac
|