mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 10:39:04 +00:00
3a2cccda2e
SVN-Revision: 35217
17 lines
304 B
Plaintext
17 lines
304 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_name)"
|
|
}
|
|
|
|
board=$(lantiq_board_id)
|
|
case $board in
|
|
WBMR)
|
|
config_load wireless
|
|
config_foreach set_wps wifi-iface
|
|
uci commit wireless
|
|
;;
|
|
esac
|