X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/372e5282aaa68d70d4333969bb851996ae6f9cbd..2d17b93d5618cc37b3e1a4eafbb62a95a17c339f:/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 3a9f4c5de..6bc53dffe 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 @@ -23,11 +23,23 @@ DEVICENAME ~~ (controlC[0-9]|pcmC0D0*|timer) { next } +DEVICENAME ~~ (lp[0-9]) { + nothrottle + makedev /dev/%DEVICENAME% 0644 + next +} + DEVPATH is set, SUBSYSTEM ~~ (input) { nothrottle makedev /dev/input/%DEVICENAME% 0644 } +DEVICENAME == device-mapper { + nothrottle + makedev /dev/mapper/control 0600 +} + + DEVPATH is set { nothrottle makedev /dev/%DEVICENAME% 0644