summaryrefslogtreecommitdiff
path: root/package/hotplug2/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-06-30 11:05:14 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-06-30 11:05:14 +0000
commitc09dc20f2cadaba86168adbb6df15e17c320d8d0 (patch)
tree7b30c1f0e65973f3648b6915371fa2000f5643e2 /package/hotplug2/files
parent8528218ec66258b19fd0ee40a4f6c4151329c17e (diff)
downloadmtk-20170518-c09dc20f2cadaba86168adbb6df15e17c320d8d0.zip
mtk-20170518-c09dc20f2cadaba86168adbb6df15e17c320d8d0.tar.gz
mtk-20170518-c09dc20f2cadaba86168adbb6df15e17c320d8d0.tar.bz2
replace the hotplug2 fork handling hack with a better solution implemented in upstream (thanks, iSteve)
SVN-Revision: 7786
Diffstat (limited to 'package/hotplug2/files')
-rw-r--r--package/hotplug2/files/hotplug2.rules8
1 files changed, 6 insertions, 2 deletions
diff --git a/package/hotplug2/files/hotplug2.rules b/package/hotplug2/files/hotplug2.rules
index f8035d3..3d7df41 100644
--- a/package/hotplug2/files/hotplug2.rules
+++ b/package/hotplug2/files/hotplug2.rules
@@ -1,18 +1,22 @@
DEVICENAME ~~ (tun|tap[0-9]) {
+ nothrottle
makedev /dev/net/%DEVICENAME% 0644
next
}
DEVICENAME ~~ (controlC[0-9]|pcmC0D0*) {
- makedev /dev/snd/%DEVICENAME% 0644
- next
+ nothrottle
+ makedev /dev/snd/%DEVICENAME% 0644
+ next
}
DEVPATH is set {
+ nothrottle
makedev /dev/%DEVICENAME% 0644
}
FIRMWARE is set {
+ nothrottle
exec /sbin/hotplug-call firmware;
next
}