move input device nodes to /dev/input
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 9 Mar 2009 15:06:15 +0000 (15:06 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 9 Mar 2009 15:06:15 +0000 (15:06 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14809 3c298f89-4303-0410-b956-a3cf2f4a3e73

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