X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/57a1576550e4cd18adf7ab7d63abe31ef4b364b0..aa196b361191e3498cd8b96f0669722a4742cca2:/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 45b4f44a5..d6dd6e8a9 100644 --- a/package/base-files/files/etc/hotplug2-common.rules +++ b/package/base-files/files/etc/hotplug2-common.rules @@ -23,6 +23,12 @@ 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 @@ -35,6 +41,6 @@ DEVPATH is set { FIRMWARE is set { nothrottle - exec /sbin/hotplug-call firmware; + exec /sbin/hotplug-call firmware next }