42f4deb88ada27e7899bcd48f20ae6db44755281
[openwrt/staging/rmilecki.git] / target / linux / mvebu / cortexa53 / base-files / etc / board.d / 01_leds
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0-only
3
4 . /lib/functions/uci-defaults.sh
5
6 board_config_update
7
8 board=$(board_name)
9
10 case "$board" in
11 glinet,gl-mv1000)
12 ucidef_set_led_netdev "wan" "WAN" "green:wan" "wan"
13 ;;
14 esac
15
16 board_config_flush
17
18 exit 0