summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-09-28 20:05:50 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-09-28 20:05:50 +0000
commit1106afd9fe10370da68d5eed9a5fa6364cf3ed43 (patch)
treef64d90c5c67bd6a705df3c7c006c5e0bae78a498 /package
parent9dfc3e34ee54d00b68cc4cbb5cddcfa588fd07fb (diff)
[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')
-rw-r--r--package/base-files/Makefile2
-rw-r--r--package/base-files/files/etc/hotplug2-common.rules6
2 files changed, 7 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index b0dc94ebe..b288c0dfc 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 3a9f4c5de..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