ath79: split base-files into subtargets
[openwrt/staging/chunkeey.git] / target / linux / ath79 / nand / 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 boardname="${board##*,}"
9
10 case "$board" in
11 glinet,gl-ar300m-nand)
12 ucidef_set_led_netdev "lan" "LAN" "gl-ar300m:green:lan" "eth0"
13 ;;
14 esac
15
16 board_config_flush
17
18 exit 0