01_leds 331 B

12345678910111213141516
  1. #!/bin/sh
  2. . /lib/functions/uci-defaults.sh
  3. board_config_update
  4. case "$(board_name)" in
  5. netgear,r8000)
  6. ucidef_set_led_usbport "usb2" "USB 2.0" "bcm53xx:white:usb2" "usb1-port2" "usb2-port2"
  7. ucidef_set_led_usbport "usb3" "USB 3.0" "bcm53xx:white:usb3" "usb1-port1" "usb2-port1" "usb4-port1"
  8. ;;
  9. esac
  10. board_config_flush
  11. exit 0