summaryrefslogtreecommitdiff
path: root/etc/etc.sun3
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.sun3
parentf99c6d9ee5cfaf1709594b0a21c6ccc3aa96270d (diff)
Add the pf device for the shiny new packet filter
Diffstat (limited to 'etc/etc.sun3')
-rw-r--r--etc/etc.sun3/MAKEDEV11
1 files changed, 9 insertions, 2 deletions
diff --git a/etc/etc.sun3/MAKEDEV b/etc/etc.sun3/MAKEDEV
index b1d3b964efc..17c4a2822c8 100644
--- a/etc/etc.sun3/MAKEDEV
+++ b/etc/etc.sun3/MAKEDEV
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: MAKEDEV,v 1.34 2001/05/30 02:11:26 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.35 2001/06/24 23:36:10 kjell Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -183,7 +183,7 @@ all)
sh $this cd0 st0 st1 rd0
sh $this uk0 uk1
sh $this ss0 ss1
- sh $this pty0 vnd0 vnd1 vnd2 vnd3 tun0 tun1 tun2 tun3
+ sh $this pty0 vnd0 vnd1 vnd2 vnd3 pf tun0 tun1 tun2 tun3
sh $this ccd0 ccd1 ccd2 ccd3
sh $this bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
sh $this bwtwo0 cgtwo0 cgfour0
@@ -271,6 +271,13 @@ bpf*)
chown root.wheel bpf$unit
;;
+pf)
+ rm -f pf
+ mknod pf c 73 0
+ chown root.wheel pf
+ chmod 600 pf
+ ;;
+
tun*)
rm -f tun$unit
mknod tun$unit c 24 $unit