summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc
diff options
context:
space:
mode:
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 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
}