Root/target/linux/lantiq/base-files/etc/uci-defaults/wps

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

Archive Download this file



interactive