From a7e1a7ae99962e214348ef30f6c47b300d5d40c4 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 9 Jul 2007 00:13:47 +0000 Subject: hotplug2 update - include hotplug2-init.rules from hotplug2.rules, fix permissions of various devices (fixes #2052) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7892 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/hotplug2/files/hotplug2.rules | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'package/hotplug2/files') diff --git a/package/hotplug2/files/hotplug2.rules b/package/hotplug2/files/hotplug2.rules index 3d7df41ef6..a6697ae86d 100644 --- a/package/hotplug2/files/hotplug2.rules +++ b/package/hotplug2/files/hotplug2.rules @@ -1,20 +1,4 @@ -DEVICENAME ~~ (tun|tap[0-9]) { - nothrottle - makedev /dev/net/%DEVICENAME% 0644 - next -} - -DEVICENAME ~~ (controlC[0-9]|pcmC0D0*) { - nothrottle - makedev /dev/snd/%DEVICENAME% 0644 - next -} - -DEVPATH is set { - nothrottle - makedev /dev/%DEVICENAME% 0644 -} - +$include /etc/hotplug2-init.rules FIRMWARE is set { nothrottle exec /sbin/hotplug-call firmware; -- cgit v1.2.3