LEDE/OpenWRT控制gpio-led
Led configuration The Led configuration is located in system uci subsystem, and written in the /etc/config/system file. Leds section The leds section contains settings that apply to non-default leds (default leds are usually “power connected” led, “system alive” led, leds showing ethernet port activity and leds showing wifi radio status. Their settings are defined somewhere else, see development guides) This is an example of leds on a tp-link router with usb port. root@lede:/# uci show system | grep "system.led" system.led_usb=led system.led_usb.name='USB' system.led_usb.sysfs='tp-link:green