summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/etc/uci-defaults/03_wireless
blob: bf8c009bcfb561895dad41d791d4196e2deb310c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/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