ath79: add new OF only target for QCA MIPS silicon
[openwrt/staging/wigyori.git] / target / linux / ath79 / base-files / etc / board.d / 01_leds
1 #!/bin/sh
2
3 . /lib/functions/uci-defaults.sh
4
5 board_config_update
6
7 board=$(board_name)
8
9 case "$board" in
10 "glinet,ar150")
11 ucidef_set_led_wlan "wlan" "WLAN" "gl-ar150:orange:wlan" "phy0tpt"
12 ;;
13 "tplink,tl-wr1043nd-v1")
14 ucidef_set_led_usbdev "usb" "USB" "tp-link:green:usb" "1-1"
15 ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
16 ;;
17 esac
18
19 board_config_flush
20
21 exit 0