Initial commit
This commit is contained in:
17
target/linux/mediatek/mt7622/base-files/etc/board.d/01_leds
Normal file
17
target/linux/mediatek/mt7622/base-files/etc/board.d/01_leds
Normal file
@@ -0,0 +1,17 @@
|
||||
. /lib/functions/leds.sh
|
||||
. /lib/functions/uci-defaults.sh
|
||||
|
||||
board=$(board_name)
|
||||
|
||||
board_config_update
|
||||
|
||||
case $board in
|
||||
linksys,e8450|\
|
||||
linksys,e8450-ubi)
|
||||
ucidef_set_led_netdev "wan" "WAN" "inet:blue" "wan"
|
||||
;;
|
||||
esac
|
||||
|
||||
board_config_flush
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user