[x86] adjust image defaults for KVM
[openwrt.git] / target / linux / ar71xx / base-files / etc / uci-defaults / tl-wr1043nd
1 #!/bin/sh
2 #
3 # Copyright (C) 2010 OpenWrt.org
4 #
5
6 . /lib/ar71xx.sh
7
8 board=$(ar71xx_board_name)
9
10 tlwr1043nd_set_wlan_led() {
11 uci batch <<EOF
12 set system.wlan_led=led
13 set system.wlan_led.name='WLAN'
14 set system.wlan_led.sysfs='tl-wr1043nd:green:wlan'
15 set system.wlan_led.trigger='phy0rx'
16 commit system
17 EOF
18 }
19
20 if [ "${board}" == "tl-wr1043nd" ]; then
21 tlwr1043nd_set_wlan_led
22 fi
This page took 0.050568 seconds and 5 git commands to generate.