From abe01fc216610ef595aa803c7743529793feb35e Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 3 Apr 1996 17:13:59 +0000 Subject: Add skeleton firewall setup(s). Comments very welcome. --- etc/netstart | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'etc/netstart') diff --git a/etc/netstart b/etc/netstart index 9cdc135..220bc1b 100755 --- a/etc/netstart +++ b/etc/netstart @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: netstart,v 1.41 1996/02/09 12:45:37 jkh Exp $ +# $Id: netstart,v 1.42 1996/02/11 04:07:25 jkh Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # Note that almost all the user-configurable behavior is no longer in @@ -23,6 +23,11 @@ if [ -n "$defaultdomainname" -a "x$defaultdomainname" != "xNO" ] ; then domainname $defaultdomainname fi +# If IP filtering +if [ -n "$firewall" -a "x$firewall" != "xNO" -f /etc/rc.firewall ] ; then + sh /etc/rc.firewall +fi + # # XXX This is known to cause an error if /usr is nfs mounted since it # will not be available until after the network is up :-(. Once the -- cgit v1.1