Archived
1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
archive/target/linux/lantiq/base-files/etc/uci-defaults/03_wireless-wps
John Crispin a0679ed3a9 lantiq: add support for /tmp/sysinfo
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41472
2014-07-02 16:33:11 +00:00

17 lines
307 B
Plaintext

. /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