summaryrefslogtreecommitdiffstats
path: root/etc/netstart
blob: ae0dc9759b518366d0b8565e6f662585f4f48d3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh -
#
#	$Id: netstart,v 1.50 1997/05/18 14:10:06 jkh Exp $
#	From: @(#)netstart	5.9 (Berkeley) 3/30/91

# This file is NOT called by any of the other scripts - it has been
# obsoleted by /etc/rc.network and is provided here only for user
# convenience (if you're sitting in single user mode and wish to start
# the network by hand, this script will do it for you).
#

# If there is a global system configuration file, suck it in.
if [ -f /etc/rc.conf ]; then
	. /etc/rc.conf
fi

if [ -f /etc/rc.network ]; then
	. /etc/rc.network
else
	echo "Sorry, I can't find /etc/rc.network - aborting."
	exit 1
fi

echo 'Doing stage one network startup:'
network_pass1
echo 'Doing stage two network startup:'
network_pass2
exit 0
OpenPOWER on IntegriCloud