Skip to content
Snippets Groups Projects
Commit 4f65b6f5 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

adm5120: convert LED setup to board.d


Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent 07f03d08
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
. /lib/functions/uci-defaults.sh
board_config_update
ucidef_set_led_portstate "lan1" "LAN1" "lan1" "link_act"
ucidef_set_led_portstate "lan2" "LAN2" "lan2" "link_act"
ucidef_set_led_portstate "lan3" "LAN3" "lan3" "link_act"
ucidef_set_led_portstate "lan4" "LAN4" "lan4" "link_act"
ucidef_set_led_portstate "wan" "WAN" "wan" "link_act"
ucidef_set_led_netdev "wlan" "WLAN" "wlan" "wlan0"
board_config_flush
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment