summaryrefslogtreecommitdiff
path: root/etc/etc.mvme88k/MAKEDEV
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.mvme88k/MAKEDEV
parentf99c6d9ee5cfaf1709594b0a21c6ccc3aa96270d (diff)
Add the pf device for the shiny new packet filter
Diffstat (limited to 'etc/etc.mvme88k/MAKEDEV')
-rw-r--r--etc/etc.mvme88k/MAKEDEV11
1 files changed, 9 insertions, 2 deletions
diff --git a/etc/etc.mvme88k/MAKEDEV b/etc/etc.mvme88k/MAKEDEV
index 6ad5db246a4..5e3c4b3f700 100644
--- a/etc/etc.mvme88k/MAKEDEV
+++ b/etc/etc.mvme88k/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.11 2001/05/30 02:11:21 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.12 2001/06/24 23:36:06 kjell Exp $
# $NetBSD: MAKEDEV,v 1.5 1997/01/01 23:46:23 pk Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@@ -80,7 +80,7 @@ all)
sh $this vnd0 vnd1 pty0 cd0
sh $this bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
#sh $this ccd0 ccd1 ccd2 ccd3
- sh $this tun0 tun1 lkm local
+ sh $this pf tun0 tun1 lkm local
sh $this sram0 nvram0 flash0 vmel0 vmes0
#sh $this lp0 lptwo0
sh $this random
@@ -287,6 +287,13 @@ lpt*|lpa*)
chown root.wheel $name$unit
;;
+pf)
+ rm -f pf
+ mknod pf c 73 0
+ chown root.wheel pf
+ chmod 600 pf
+ ;;
+
bpf*|tun*)
case $i in
bpf*) name=bpf; unit=${i#bpf}; chr=22;;