01_leds 431 B

1234567891011121314151617
  1. #!/bin/sh
  2. . /lib/functions/uci-defaults.sh
  3. board_config_update
  4. ucidef_set_led_portstate "lan1" "LAN1" "lan1" "link_act"
  5. ucidef_set_led_portstate "lan2" "LAN2" "lan2" "link_act"
  6. ucidef_set_led_portstate "lan3" "LAN3" "lan3" "link_act"
  7. ucidef_set_led_portstate "lan4" "LAN4" "lan4" "link_act"
  8. ucidef_set_led_portstate "wan" "WAN" "wan" "link_act"
  9. ucidef_set_led_netdev "wlan" "WLAN" "wlan" "wlan0"
  10. board_config_flush
  11. exit 0