base-files: add hotplug rules for /dev/lpX (#863)

SVN-Revision: 17792
This commit is contained in:
Jo-Philipp Wich 2009-09-28 20:05:50 +00:00
parent 91750d01a7
commit f44e4dcb4b
2 changed files with 7 additions and 1 deletions

View File

@ -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/

View File

@ -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