diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-06-30 11:05:14 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-06-30 11:05:14 +0000 |
commit | c09dc20f2cadaba86168adbb6df15e17c320d8d0 (patch) | |
tree | 7b30c1f0e65973f3648b6915371fa2000f5643e2 /package/hotplug2/files | |
parent | 8528218ec66258b19fd0ee40a4f6c4151329c17e (diff) | |
download | mtk-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.rules | 8 |
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 } |