diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-09-28 20:05:50 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-09-28 20:05:50 +0000 |
commit | f98321a8ffe57b8e9ffdcef343d3ee7983ba2c06 (patch) | |
tree | f64d90c5c67bd6a705df3c7c006c5e0bae78a498 /package/base-files/files | |
parent | 49254e2b2c2f65a21be6c38c3afc0b9d4832f3fb (diff) | |
download | upstream-f98321a8ffe57b8e9ffdcef343d3ee7983ba2c06.tar.gz upstream-f98321a8ffe57b8e9ffdcef343d3ee7983ba2c06.tar.bz2 upstream-f98321a8ffe57b8e9ffdcef343d3ee7983ba2c06.zip |
[package] base-files: add hotplug rules for /dev/lpX (#863)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17792 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files')
-rw-r--r-- | package/base-files/files/etc/hotplug2-common.rules | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/base-files/files/etc/hotplug2-common.rules b/package/base-files/files/etc/hotplug2-common.rules index 3a9f4c5ded..d6dd6e8a9b 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 |