blob: b9b62a07e0f17df9fa33d81784e79a1f11441fe8 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#!/bin/sh
2#
3# Copyright (C) 2015 OpenWrt.org
4#
5
6. /lib/functions/uci-defaults.sh
7
8board_config_update
9
10board=$(board_name)
11
12case "$board" in
13traverse,ls1043v)
14 ucidef_set_led_netdev "wan" "WAN LED" "ls1043v:yellow:wan" "eth4"
15 ;;
16traverse,ls1043s)
17 ucidef_set_led_netdev "wan" "WAN LED" "ls1043s:yellow:wan" "eth4"
18 ucidef_set_led_netdev "xgact" "10G Activity" "ls1043s:yellow:10gact" "eth6"
19 ucidef_set_led_netdev "xglink" "10G Link" "ls1043s:green:10glink" "eth6"
20 ;;
21esac
22
23board_config_flush
24
25exit 0