From 370c954b8174a26876dbfeed6d92ac035b90bfcc Mon Sep 17 00:00:00 2001 From: nbd 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) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7786 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 f8035d384..3d7df41ef 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