aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-04-01 23:44:39 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-04-01 23:44:39 +0000
commitd0ef191f6a96abe00c05b4b13b643c0d9fe18839 (patch)
tree37b44fa825e1af8c6b516b1c5f9de4b5eb9c4995 /package/base-files/files/etc
parent33c8a3ada76584a2586ac2573155cf0f554f66c3 (diff)
downloadupstream-d0ef191f6a96abe00c05b4b13b643c0d9fe18839.tar.gz
upstream-d0ef191f6a96abe00c05b4b13b643c0d9fe18839.tar.bz2
upstream-d0ef191f6a96abe00c05b4b13b643c0d9fe18839.zip
move /dev/tun to /dev/net/tun
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6814 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/etc')
-rw-r--r--package/base-files/files/etc/hotplug2.rules5
1 files changed, 5 insertions, 0 deletions
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
}