move input device nodes to /dev/input
authorFelix Fietkau <nbd@openwrt.org>
Mon, 9 Mar 2009 15:06:15 +0000 (15:06 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 9 Mar 2009 15:06:15 +0000 (15:06 +0000)
SVN-Revision: 14809

package/base-files/files/etc/hotplug2-common.rules

index 875fa12eeacb513548e47b225abaf13a128ae6bc..45b4f44a53e3f463132d9daab90b669e3713b176 100644 (file)
@@ -23,6 +23,11 @@ DEVICENAME ~~ (controlC[0-9]|pcmC0D0*|timer) {
        next
 }
 
+DEVPATH is set, SUBSYSTEM ~~ (input) {
+       nothrottle
+       makedev /dev/input/%DEVICENAME% 0644
+}
+
 DEVPATH is set {
        nothrottle
        makedev /dev/%DEVICENAME% 0644