move /dev/tun to /dev/net/tun
authorFelix Fietkau <nbd@openwrt.org>
Sun, 1 Apr 2007 23:44:39 +0000 (23:44 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 1 Apr 2007 23:44:39 +0000 (23:44 +0000)
SVN-Revision: 6814

package/base-files/files/etc/hotplug2.rules

index d2a931adcf94db6a8a54494eba4737bb3f7d9fc2..7f1aca91780f7b4177bce808ee51bd1b7d94c8b7 100644 (file)
@@ -1,3 +1,8 @@
+DEVICENAME ~~ (tun|tap[0-9]) {
+       makedev /dev/net/%DEVICENAME% 0644
+       next
+}
+
 DEVPATH is set {
                        makedev /dev/%DEVICENAME% 0644
 }