openwrtv4/package/base-files/files/bin
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
..
board_detect base-files: also generate configs when current is empty (FS#193) 2016-10-05 19:59:11 +02:00
config_generate base-files: add ucidef_set_led_usbport for full usbport support 2016-10-22 11:16:01 +02:00
ipcalc.sh base-files: ipcalc.sh: support bit length as netmask parameter 2013-12-16 16:29:23 +00:00