mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-18 17:33:31 +00:00
ipq807x: add led configuration
This commit is contained in:
parent
b9089dbf09
commit
38fcecc1ad
18
target/linux/ipq807x/base-files/etc/board.d/01_leds
Normal file
18
target/linux/ipq807x/base-files/etc/board.d/01_leds
Normal 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
|
Loading…
Reference in New Issue
Block a user