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 | f44e4dcb4b947a09bc3f80d8e9962244ec4e7d1a (patch) | |
tree | 2540197ed39ee833c99f3c4fa2dea40e18ae2302 /package/base-files | |
parent | 91750d01a7a0b56a880a147a825d097aaac7f53d (diff) | |
download | master-31e0f0ae-f44e4dcb4b947a09bc3f80d8e9962244ec4e7d1a.tar.gz master-31e0f0ae-f44e4dcb4b947a09bc3f80d8e9962244ec4e7d1a.tar.bz2 master-31e0f0ae-f44e4dcb4b947a09bc3f80d8e9962244ec4e7d1a.zip |
base-files: add hotplug rules for /dev/lpX (#863)
SVN-Revision: 17792
Diffstat (limited to 'package/base-files')
-rw-r--r-- | package/base-files/Makefile | 2 | ||||
-rw-r--r-- | package/base-files/files/etc/hotplug2-common.rules | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile index b0dc94ebe6..b288c0dfce 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=base-files -PKG_RELEASE:=31 +PKG_RELEASE:=32 PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ 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 |