From c09dc20f2cadaba86168adbb6df15e17c320d8d0 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 30 Jun 2007 11:05:14 +0000 Subject: replace the hotplug2 fork handling hack with a better solution implemented in upstream (thanks, iSteve) SVN-Revision: 7786 --- package/hotplug2/files/hotplug2.rules | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'package/hotplug2/files') diff --git a/package/hotplug2/files/hotplug2.rules b/package/hotplug2/files/hotplug2.rules index f8035d3841..3d7df41ef6 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 } -- cgit v1.2.3