mediatek: add support for Cudy WR3000 v1
[openwrt/openwrt.git] / target / linux / mediatek / filogic / base-files / etc / board.d / 01_leds
1 . /lib/functions/leds.sh
2 . /lib/functions/uci-defaults.sh
3
4 board=$(board_name)
5
6 board_config_update
7
8 case $board in
9 cudy,wr3000-v1)
10 ucidef_set_led_netdev "wan" "wan" "blue:wan" "wan"
11 ;;
12 xiaomi,redmi-router-ax6000-stock|\
13 xiaomi,redmi-router-ax6000-ubootmod)
14 ucidef_set_led_netdev "wan" "wan" "rgb:network" "wan"
15 ;;
16 esac
17
18 board_config_flush
19
20 exit 0