openwrtv3/package/base-files/files/etc/init.d
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
..
boot base-files: let config_generate call board_detect 2016-08-13 15:49:46 +02:00
done fstools: update to the latest version, makes interrupted first boot more reliable 2015-03-22 15:11:27 +00:00
gpio_switch base-files: implemented basic GPIO control 2015-07-08 14:25:52 +00:00
led base-files: add ucidef_set_led_usbport for full usbport support 2016-10-22 11:16:01 +02:00
sysctl base-files: reduce vm.min_free_kbytes for devices with 32M RAM 2016-09-16 16:44:45 +02:00
sysfixtime base-files: sysfixtime no longer exclude dnsmasq.time 2016-06-24 13:56:30 +02:00
system branding: add LEDE branding 2016-03-24 22:40:13 +01:00
umount base-files: fix mount-utils incompatibility 2013-12-27 21:15:09 +00:00
urandom_seed base-files: use procd init for urandom_seed 2016-07-27 01:24:54 +02:00