mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 01:28:59 +00:00
22 lines
272 B
Plaintext
22 lines
272 B
Plaintext
|
#!/bin/sh
|
||
|
#
|
||
|
# Copyright (C) 2016 OpenWrt.org
|
||
|
#
|
||
|
|
||
|
[ ! -e /etc/config/wireless ] && exit 0
|
||
|
|
||
|
. /lib/functions/system.sh
|
||
|
. /lib/ramips.sh
|
||
|
|
||
|
board=$(ramips_board_name)
|
||
|
|
||
|
case "$board" in
|
||
|
dch-m225)
|
||
|
uci set wireless.@wifi-device[0].disabled=0
|
||
|
;;
|
||
|
esac
|
||
|
|
||
|
uci commit wireless
|
||
|
|
||
|
exit 0
|