summaryrefslogtreecommitdiff
path: root/etc/etc.mvme68k
diff options
context:
space:
mode:
authorKjell Wooding <kjell@cvs.openbsd.org>2001-06-24 23:36:13 +0000
committerKjell Wooding <kjell@cvs.openbsd.org>2001-06-24 23:36:13 +0000
commit6ee4d4f80a258cb9a12b6a34fb46aa1eba2a24ee (patch)
treeecc0f4b19f3e15ac3c93687952057357be61ec7f /etc/etc.mvme68k
parentf99c6d9ee5cfaf1709594b0a21c6ccc3aa96270d (diff)
Add the pf device for the shiny new packet filter
Diffstat (limited to 'etc/etc.mvme68k')
-rw-r--r--etc/etc.mvme68k/MAKEDEV13
1 files changed, 10 insertions, 3 deletions
diff --git a/etc/etc.mvme68k/MAKEDEV b/etc/etc.mvme68k/MAKEDEV
index df3f0603290..8a76412ed4e 100644
--- a/etc/etc.mvme68k/MAKEDEV
+++ b/etc/etc.mvme68k/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.30 2001/05/30 02:11:20 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.31 2001/06/24 23:36:05 kjell Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -33,7 +33,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# $OpenBSD: MAKEDEV,v 1.30 2001/05/30 02:11:20 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.31 2001/06/24 23:36:05 kjell Exp $
#
# Device "make" file. Valid arguments:
# all makes all known devices, including local devices,
@@ -93,7 +93,7 @@ all)
sh MAKEDEV vnd0 vnd1 pty0 cd0
sh MAKEDEV bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
#sh MAKEDEV ccd0 ccd1 ccd2 ccd3
- sh MAKEDEV tun0 tun1 lkm local
+ sh MAKEDEV pf tun0 tun1 lkm local
sh MAKEDEV sram0 nvram0 flash0 vmel0 vmes0
#sh MAKEDEV lp0 lptwo0
sh MAKEDEV random
@@ -398,6 +398,13 @@ bpf*)
chown root.wheel bpf$unit
;;
+pf)
+ rm -f pf
+ mknod pf c 73 0
+ chown root.wheel pf
+ chmod 600 pf
+ ;;
+
tun*)
unit=`expr $i : 'tun\(.*\)'`
rm -f tun$unit