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 875fa12..45b4f44 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