|
@ -1,9 +1,6 @@ |
|
|
#!/bin/sh - |
|
|
#!/bin/sh - |
|
|
# |
|
|
# |
|
|
# $OpenBSD: netstart,v 1.29 1997/09/04 01:12:23 deraadt Exp $ |
|
|
|
|
|
|
|
|
|
|
|
# pick up option configuration |
|
|
|
|
|
. /etc/rc.conf |
|
|
|
|
|
|
|
|
# $OpenBSD: netstart,v 1.30 1997/10/14 20:34:55 deraadt Exp $ |
|
|
|
|
|
|
|
|
# /etc/myname contains my symbolic name |
|
|
# /etc/myname contains my symbolic name |
|
|
# |
|
|
# |
|
@ -13,6 +10,9 @@ if [ -f /etc/defaultdomain ]; then |
|
|
domainname `cat /etc/defaultdomain` |
|
|
domainname `cat /etc/defaultdomain` |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# pick up option configuration |
|
|
|
|
|
. /etc/rc.conf |
|
|
|
|
|
|
|
|
# Configure the IP filter before configuring network interfaces |
|
|
# Configure the IP filter before configuring network interfaces |
|
|
# |
|
|
# |
|
|
if [ X"${ipfilter}" = X"YES" -a -f "${ipfilter_rules}" ]; then |
|
|
if [ X"${ipfilter}" = X"YES" -a -f "${ipfilter_rules}" ]; then |
|
|