mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00

add DT nodes and default package for the LEDs on Redmi AX6000 Signed-off-by: Furong Xu <xfr@outlook.com> Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
17 lines
236 B
Plaintext
17 lines
236 B
Plaintext
. /lib/functions/leds.sh
|
|
. /lib/functions/uci-defaults.sh
|
|
|
|
board=$(board_name)
|
|
|
|
board_config_update
|
|
|
|
case $board in
|
|
xiaomi,redmi-router-ax6000)
|
|
ucidef_set_led_netdev "wan" "wan" "rgb:network" "wan"
|
|
;;
|
|
esac
|
|
|
|
board_config_flush
|
|
|
|
exit 0
|