summaryrefslogtreecommitdiff
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
commit4b5e7678f6cbf43e8ed8188bb17ca0f4087b090f (patch)
tree77c6291ff58a228b4eb7fa507283c21ec9741f05 /package/base-files/files/etc
parent100aa6957915e515a3760041a24bad06ec6f6605 (diff)
downloadmtk-20170518-4b5e7678f6cbf43e8ed8188bb17ca0f4087b090f.zip
mtk-20170518-4b5e7678f6cbf43e8ed8188bb17ca0f4087b090f.tar.gz
mtk-20170518-4b5e7678f6cbf43e8ed8188bb17ca0f4087b090f.tar.bz2
move /dev/tun to /dev/net/tun
SVN-Revision: 6814
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 d2a931a..7f1aca9 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
}