From: Felix Fietkau <nbd@openwrt.org>
Date: Sun, 1 Apr 2007 23:44:39 +0000 (+0000)
Subject: move /dev/tun to /dev/net/tun
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=4b5e7678f6cbf43e8ed8188bb17ca0f4087b090f;p=openwrt%2Fstaging%2Fwigyori.git

move /dev/tun to /dev/net/tun

SVN-Revision: 6814
---

diff --git a/package/base-files/files/etc/hotplug2.rules b/package/base-files/files/etc/hotplug2.rules
index d2a931adcf..7f1aca9178 100644
--- a/package/base-files/files/etc/hotplug2.rules
+++ b/package/base-files/files/etc/hotplug2.rules
@@ -1,3 +1,8 @@
+DEVICENAME ~~ (tun|tap[0-9]) {
+	makedev /dev/net/%DEVICENAME% 0644
+	next
+}
+
 DEVPATH is set {
 			makedev /dev/%DEVICENAME% 0644
 }