Add tun* devices. Basically just ripped out of hp300.

This commit is contained in:
briggs 1994-12-22 05:54:27 +00:00
parent a267ba6dc0
commit 33cf3304f6

View File

@ -20,7 +20,7 @@
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#
# from: @(#)MAKEDEV 5.2 (Berkeley) 6/22/90
# $Id: MAKEDEV,v 1.9 1994/10/31 23:31:06 briggs Exp $
# $Id: MAKEDEV,v 1.10 1994/12/22 05:54:27 briggs Exp $
#
# Device "make" file. Valid arguments:
# std standard devices
@ -47,6 +47,7 @@
#
# Special purpose devices:
# bpf* packet filter
# tun* network tunnel driver
# lkm Device to for loadable kernel modules
#
@ -267,6 +268,14 @@ bpf*)
chown root.wheel bpf${unit}
;;
tun*)
unit=`expr $i : 'tun\(.*\)'`
rm -f tun$unit
mknod tun$unit c 24 $unit
chmod 600 tun$unit
chown root.wheel tun$unit
;;
lkm)
rm -f lkm
mknod lkm c 25 0