ipq807x: add led configuration

This commit is contained in:
coolsnowwolf 2021-06-29 11:38:08 +08:00
parent b9089dbf09
commit 38fcecc1ad

View File

@ -0,0 +1,18 @@
. /lib/functions/leds.sh
. /lib/functions/uci-defaults.sh
board=$(board_name)
board_config_update
case $board in
xiaomi,ax3600|\
redmi,ax6)
ucidef_set_led_netdev "wan" "WAN" "blue:network" "eth0"
;;
esac
board_config_flush
exit 0