diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-04-01 23:44:39 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-04-01 23:44:39 +0000 |
commit | 35542adfe391a97f617cb7f228264d1db7fbb74e (patch) | |
tree | 37b44fa825e1af8c6b516b1c5f9de4b5eb9c4995 /package/base-files/files/etc | |
parent | 20c4cf924b3162cf471fae294c4e93dbfa72596f (diff) |
move /dev/tun to /dev/net/tun
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6814 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/etc')
-rw-r--r-- | package/base-files/files/etc/hotplug2.rules | 5 |
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 } |