Flush out the rules before adding entries. This prevents duplicate

rules from appearing when switching back and forth from single to
multi-user modes.
This commit is contained in:
Alexander Langer 1996-06-22 00:54:36 +00:00
parent 51a109a174
commit 2df2f6af71

View File

@ -1,6 +1,6 @@
############
# Setup system for firewall service.
# $Id: rc.firewall,v 1.1 1996/04/03 17:13:58 phk Exp $
# $Id: rc.firewall,v 1.2 1996/04/12 09:16:42 phk Exp $
############
#
@ -29,6 +29,10 @@
# ISBN 0-201-6337-4
#
############
# Flush out the list before we begin.
/sbin/ipfw flush
############
# If you just configured ipfw in the kernel as a tool to solve network
# problems or you just want to disallow some particular kinds of traffic