diff options
author | phk <phk@FreeBSD.org> | 1996-04-03 17:13:59 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-04-03 17:13:59 +0000 |
commit | abe01fc216610ef595aa803c7743529793feb35e (patch) | |
tree | 0c72fbbefd760872a0e9194084568b7d567a09b3 /etc/netstart | |
parent | 8a4381b139489559851a24f7e7088354b0acf624 (diff) | |
download | FreeBSD-src-abe01fc216610ef595aa803c7743529793feb35e.zip FreeBSD-src-abe01fc216610ef595aa803c7743529793feb35e.tar.gz |
Add skeleton firewall setup(s). Comments very welcome.
Diffstat (limited to 'etc/netstart')
-rwxr-xr-x | etc/netstart | 7 |
1 files changed, 6 insertions, 1 deletions
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 |