From 6ee4d4f80a258cb9a12b6a34fb46aa1eba2a24ee Mon Sep 17 00:00:00 2001 From: Kjell Wooding Date: Sun, 24 Jun 2001 23:36:13 +0000 Subject: Add the pf device for the shiny new packet filter --- etc/etc.sun3/MAKEDEV | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'etc/etc.sun3') 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 -- cgit v1.2.3