[package] base-files: introduce a ready-to-use /etc/rc.local to let users run custom...
[openwrt.git] / package / base-files / files / etc / hotplug2-common.rules
index ed785e3..3a9f4c5 100644 (file)
@@ -1,5 +1,5 @@
 
 
-DEVICENAME ~~ (null|full|ptmx|tty|zero) {
+DEVICENAME ~~ (null|full|ptmx|tty|zero|gpio) {
        nothrottle
        makedev /dev/%DEVICENAME% 0666
        next
        nothrottle
        makedev /dev/%DEVICENAME% 0666
        next
@@ -23,6 +23,11 @@ DEVICENAME ~~ (controlC[0-9]|pcmC0D0*|timer) {
        next
 }
 
        next
 }
 
+DEVPATH is set, SUBSYSTEM ~~ (input) {
+       nothrottle
+       makedev /dev/input/%DEVICENAME% 0644
+}
+
 DEVPATH is set {
        nothrottle
        makedev /dev/%DEVICENAME% 0644
 DEVPATH is set {
        nothrottle
        makedev /dev/%DEVICENAME% 0644
@@ -30,6 +35,6 @@ DEVPATH is set {
 
 FIRMWARE is set {
        nothrottle
 
 FIRMWARE is set {
        nothrottle
-       exec /sbin/hotplug-call firmware;
+       exec /sbin/hotplug-call firmware
        next
 }
        next
 }
This page took 0.027004 seconds and 4 git commands to generate.