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 | b1840ac964c017fa355e98dbc54e8272e3846caf (patch) | |
tree | 8eef0a334aeb799e7efcef236eb2f59235cddb7b /package/hotplug2/files | |
parent | f52f337a3dace55b357dcd046937c4bc13b63f93 (diff) | |
download | master-187ad058-b1840ac964c017fa355e98dbc54e8272e3846caf.tar.gz master-187ad058-b1840ac964c017fa355e98dbc54e8272e3846caf.tar.bz2 master-187ad058-b1840ac964c017fa355e98dbc54e8272e3846caf.zip |
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
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 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 } |