1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-18 11:16:16 +02:00

[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
This commit is contained in:
jow 2009-09-28 20:05:50 +00:00
parent 9dfc3e34ee
commit 1106afd9fe
2 changed files with 7 additions and 1 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=base-files PKG_NAME:=base-files
PKG_RELEASE:=31 PKG_RELEASE:=32
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/

View File

@ -23,6 +23,12 @@ DEVICENAME ~~ (controlC[0-9]|pcmC0D0*|timer) {
next next
} }
DEVICENAME ~~ (lp[0-9]) {
nothrottle
makedev /dev/%DEVICENAME% 0644
next
}
DEVPATH is set, SUBSYSTEM ~~ (input) { DEVPATH is set, SUBSYSTEM ~~ (input) {
nothrottle nothrottle
makedev /dev/input/%DEVICENAME% 0644 makedev /dev/input/%DEVICENAME% 0644