From 35542adfe391a97f617cb7f228264d1db7fbb74e Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 1 Apr 2007 23:44:39 +0000 Subject: move /dev/tun to /dev/net/tun git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6814 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/etc/hotplug2.rules | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'package/base-files/files/etc') 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 } -- cgit v1.2.3