hotplug2 update - include hotplug2-init.rules from hotplug2.rules, fix permissions...
[openwrt/openwrt.git] / package / hotplug2 / files / hotplug2.rules
index 3d7df41..a6697ae 100644 (file)
@@ -1,20 +1,4 @@
-DEVICENAME ~~ (tun|tap[0-9]) {
-       nothrottle
-       makedev /dev/net/%DEVICENAME% 0644
-       next
-}
-
-DEVICENAME ~~ (controlC[0-9]|pcmC0D0*) {
-       nothrottle
-       makedev /dev/snd/%DEVICENAME% 0644
-       next
-}
-
-DEVPATH is set {
-       nothrottle
-       makedev /dev/%DEVICENAME% 0644
-}
-
+$include /etc/hotplug2-init.rules
 FIRMWARE is set {
        nothrottle
        exec /sbin/hotplug-call firmware;