#
#	BSDI netstart,v 2.3 1996/01/03 00:26:35 polk Exp
#	@(#)netstart	5.9 (Berkeley) 3/30/91
#
# These flags specify whether or not to run the daemons (values YES or NO),
# or the flags with which to run them if another value.
routedflags=NO
timedflags=NO
rwhod=YES
rstatd=YES

hostname $hostname

# Configure primary Ethernet, FDDI, Token Ring network interface if
# one was specified.
if [ X$iface != X ]; then
	if [ X$netmask != X ]; then
		ifconfig $iface inet $ipaddr netmask $netmask $linkarg
	else
		ifconfig $iface inet $ipaddr $linkarg
	fi
	# set up multicast on primary ethernet interface
	route add -net 224.0.0.0 -interface $ipaddr
fi

#
# NOTE:
#  If you have additional interfaces, you'll have to add ifconfig lines
#  for them manually.  The config_netstart program can only handle 
#  the simplest of configurations (i.e., zero or one interfaces with 
#  at most one static default route).  These ifconfig commands should
#  placed before the ifconfig for lo0 and the installation of a
#  default route.
#
#  Add commands to start additional interfaces AFTER this line

#  Add commands to start additional interfaces BEFORE this line
#

# configure localhost (loopback) interface
ifconfig lo0 inet 127.1

# do not send packets to the "loopback" net off-machine
route add -net 127 127.1 -reject

if [ X$defroute != X ]; then
	route add default $defroute
fi

#
#  Place configuration commands for additional interfaces above,
#  before the loopback interface is configured.
#
