X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/1106afd9fe10370da68d5eed9a5fa6364cf3ed43..d7e830a7a9c9ca49ce15c4104586e24e77571919:/package/base-files/files/etc/hotplug2-common.rules diff --git a/package/base-files/files/etc/hotplug2-common.rules b/package/base-files/files/etc/hotplug2-common.rules index d6dd6e8a9..bb76667bb 100644 --- a/package/base-files/files/etc/hotplug2-common.rules +++ b/package/base-files/files/etc/hotplug2-common.rules @@ -1,5 +1,5 @@ -DEVICENAME ~~ (null|full|ptmx|tty|zero|gpio) { +DEVICENAME ~~ (null|full|ptmx|tty|zero|gpio|hvc) { nothrottle makedev /dev/%DEVICENAME% 0666 next @@ -34,13 +34,19 @@ DEVPATH is set, SUBSYSTEM ~~ (input) { makedev /dev/input/%DEVICENAME% 0644 } +DEVICENAME == device-mapper { + nothrottle + makedev /dev/mapper/control 0600 +} + + DEVPATH is set { nothrottle makedev /dev/%DEVICENAME% 0644 } -FIRMWARE is set { +FIRMWARE is set, ACTION == add { nothrottle - exec /sbin/hotplug-call firmware + load-firmware /lib/firmware next }