01_leds 321 B

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