summaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-01 23:44:39 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-01 23:44:39 +0000
commit35542adfe391a97f617cb7f228264d1db7fbb74e (patch)
tree37b44fa825e1af8c6b516b1c5f9de4b5eb9c4995 /package/base-files
parent20c4cf924b3162cf471fae294c4e93dbfa72596f (diff)
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')
-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 d2a931adc..7f1aca917 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
}