openwrt/package/hotplug2/files/hotplug2.rules

11 lines
180 B
Plaintext

$include /etc/hotplug2-init.rules
FIRMWARE is set {
nothrottle
exec /sbin/hotplug-call firmware;
next
}
SUBSYSTEM ~~ (net|button|usb) {
exec /sbin/hotplug-call %SUBSYSTEM%;
}