remove a warning that has confused a few people
[openwrt-10.03/.git] / package / hotplug2 / files / hotplug2.rules
index 5122ada3787555336d55e8815f607b9a3775a154..a6697ae86d5e585ee391c07cbf0e7f546f93ef05 100644 (file)
@@ -1,17 +1,10 @@
-DEVICENAME ~~ (tun|tap[0-9]) {
-       makedev /dev/net/%DEVICENAME% 0644
-       next
-}
-
-DEVPATH is set {
-       makedev /dev/%DEVICENAME% 0644
-}
-
+$include /etc/hotplug2-init.rules
 FIRMWARE is set {
+       nothrottle
        exec /sbin/hotplug-call firmware;
        next
 }
 
-SUBSYSTEM ~~ (net|button) {
+SUBSYSTEM ~~ (net|button|usb) {
        exec /sbin/hotplug-call %SUBSYSTEM%;
 }