summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/hotplug2-common.rules
diff options
context:
space:
mode:
authoracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-02-07 22:28:09 +0000
committeracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-02-07 22:28:09 +0000
commite81aa5345378227c5cb32cd1fe2f71aeb544bcbc (patch)
tree992fe3cc23dd2a36fb8f075455fc7da4389e6a75 /package/base-files/files/etc/hotplug2-common.rules
parentc19308e08cf2fe51361e392e05874edf911dda5a (diff)
[package] base-files: Add include for target specific hotplug rules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25415 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/etc/hotplug2-common.rules')
-rw-r--r--package/base-files/files/etc/hotplug2-common.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files/files/etc/hotplug2-common.rules b/package/base-files/files/etc/hotplug2-common.rules
index 2a781b8dac..a96a8fa761 100644
--- a/package/base-files/files/etc/hotplug2-common.rules
+++ b/package/base-files/files/etc/hotplug2-common.rules
@@ -4,6 +4,8 @@
# exec logger -s -t hotplug -p daemon.info "name=%DEVICENAME%, path=%DEVPATH%"
# }
+$include /etc/hotplug2-platform.rules
+
DEVICENAME ~~ (^null$|^full$|^ptmx$|^tty|^zero$|^gpio|^hvc) {
makedev /dev/%DEVICENAME% 0666
next-event