lede/target/linux/ipq60xx/base-files/etc/board.d/01_leds

19 lines
238 B
Plaintext

. /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