netstart revision 25896
125895Sjkh#!/bin/sh -
225895Sjkh#
325896Sjkh#	$Id: netstart,v 1.50 1997/05/18 14:10:06 jkh Exp $
425895Sjkh#	From: @(#)netstart	5.9 (Berkeley) 3/30/91
525895Sjkh
625896Sjkh# This file is NOT called by any of the other scripts - it has been
725896Sjkh# obsoleted by /etc/rc.network and is provided here only for user
825896Sjkh# convenience (if you're sitting in single user mode and wish to start
925896Sjkh# the network by hand, this script will do it for you).
1025896Sjkh#
1125896Sjkh
1225895Sjkh# If there is a global system configuration file, suck it in.
1325895Sjkhif [ -f /etc/rc.conf ]; then
1425895Sjkh	. /etc/rc.conf
1525895Sjkhfi
1625895Sjkh
1725895Sjkhif [ -f /etc/rc.network ]; then
1825895Sjkh	. /etc/rc.network
1925895Sjkhelse
2025895Sjkh	echo "Sorry, I can't find /etc/rc.network - aborting."
2125895Sjkh	exit 1
2225895Sjkhfi
2325895Sjkh
2425895Sjkhecho 'Doing stage one network startup:'
2525895Sjkhnetwork_pass1
2625895Sjkhecho 'Doing stage two network startup:'
2725895Sjkhnetwork_pass2
2825895Sjkhexit 0
29