You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
307 B

. /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_model)"
}
board=$(lantiq_board_name)
case $board in
WBMR)
config_load wireless
config_foreach set_wps wifi-iface
uci commit wireless
;;
esac