openwrtv3/package/base-files
Rafał Miłecki 2187f57db6 base-files: add ucidef_set_led_usbport for full usbport support
This helper allows using usbport trigger directly. It requires usbport
compatible syntax and supports specifying multiple USB ports, e.g.:
ucidef_set_led_usbport "usb" "USB" "devicename:colour:function" "usb1-port1" "usb2-port1"

This adds a proper object to the board.json, e.g.
"usb": {
	"name": "USB",
	"type": "usbport",
	"sysfs": "devicename:colour:function",
	"ports": [
		"usb1-port1",
		"usb2-port1"
	]
}
and supports translating it into uci section.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2016-10-22 11:16:01 +02:00
..
files base-files: add ucidef_set_led_usbport for full usbport support 2016-10-22 11:16:01 +02:00
image-config.in base-files: Add standard os-release file 2016-06-24 13:52:53 +02:00
Makefile base-files: Allow subtargets to define base-files.mk 2016-09-19 19:42:10 +02:00