From 2d6b53deec9dab294cb8e0aafe81ecc7aba5ba4e Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 5 May 2007 18:33:18 +0000 Subject: use hotplug2 for serializing hotplug events on 2.6 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7097 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/hotplug2/files/hotplug2-init.rules | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 package/hotplug2/files/hotplug2-init.rules (limited to 'package/hotplug2/files/hotplug2-init.rules') diff --git a/package/hotplug2/files/hotplug2-init.rules b/package/hotplug2/files/hotplug2-init.rules new file mode 100644 index 000000000..6efd54668 --- /dev/null +++ b/package/hotplug2/files/hotplug2-init.rules @@ -0,0 +1,9 @@ +DEVICENAME ~~ (tun|tap[0-9]) { + makedev /dev/net/%DEVICENAME% 0644 + next +} + +DEVPATH is set { + makedev /dev/%DEVICENAME% 0644 +} + -- cgit v1.2.3