hotplug2 update - include hotplug2-init.rules from hotplug2.rules, fix permissions...
[openwrt.git] / package / hotplug2 / files / hotplug2.rules
index ebd96fa..a6697ae 100644 (file)
@@ -1,12 +1,10 @@
-DEVICENAME ~~ (tun|tap[0-9]) {
-       makedev /dev/net/%DEVICENAME% 0644
+$include /etc/hotplug2-init.rules
+FIRMWARE is set {
+       nothrottle
+       exec /sbin/hotplug-call firmware;
        next
 }
 
-DEVPATH is set {
-       makedev /dev/%DEVICENAME% 0644
-}
-
-SUBSYSTEM ~~ (net|button) {
+SUBSYSTEM ~~ (net|button|usb) {
        exec /sbin/hotplug-call %SUBSYSTEM%;
 }
This page took 0.019377 seconds and 4 git commands to generate.