aboutsummaryrefslogtreecommitdiff
path: root/etc/netstart
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1996-04-03 17:13:59 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1996-04-03 17:13:59 +0000
commit429c71776eaa50e6430949a6d8f61cbe39f8f59a (patch)
tree0c72fbbefd760872a0e9194084568b7d567a09b3 /etc/netstart
parent23bf99538c8cf26b09b287ef8f632ff4182e4a75 (diff)
downloadsrc-429c71776eaa50e6430949a6d8f61cbe39f8f59a.tar.gz
src-429c71776eaa50e6430949a6d8f61cbe39f8f59a.zip
Add skeleton firewall setup(s). Comments very welcome.
Notes
Notes: svn path=/head/; revision=15027
Diffstat (limited to 'etc/netstart')
-rwxr-xr-xetc/netstart7
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/netstart b/etc/netstart
index 9cdc1357a5bb..220bc1bfe3b8 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