aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/hotplug2-init.rules
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/etc/hotplug2-init.rules')
-rw-r--r--package/base-files/files/etc/hotplug2-init.rules9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/base-files/files/etc/hotplug2-init.rules b/package/base-files/files/etc/hotplug2-init.rules
new file mode 100644
index 0000000000..6efd546689
--- /dev/null
+++ b/package/base-files/files/etc/hotplug2-init.rules
@@ -0,0 +1,9 @@
+DEVICENAME ~~ (tun|tap[0-9]) {
+ makedev /dev/net/%DEVICENAME% 0644
+ next
+}
+
+DEVPATH is set {
+ makedev /dev/%DEVICENAME% 0644
+}
+