Deleted Added
full compact
netstart (27213) netstart (43849)
1#!/bin/sh -
2#
1#!/bin/sh -
2#
3# $Id: netstart,v 1.51 1997/05/18 20:11:44 jkh Exp $
3# $Id: netstart,v 1.52 1997/07/05 19:35:45 pst Exp $
4# From: @(#)netstart 5.9 (Berkeley) 3/30/91
5
6# This file is NOT called by any of the other scripts - it has been
7# obsoleted by /etc/rc.network and is provided here only for user
8# convenience (if you're sitting in single user mode and wish to start
9# the network by hand, this script will do it for you).
10#
11
12# If there is a global system configuration file, suck it in.
4# From: @(#)netstart 5.9 (Berkeley) 3/30/91
5
6# This file is NOT called by any of the other scripts - it has been
7# obsoleted by /etc/rc.network and is provided here only for user
8# convenience (if you're sitting in single user mode and wish to start
9# the network by hand, this script will do it for you).
10#
11
12# If there is a global system configuration file, suck it in.
13if [ -f /etc/rc.conf ]; then
13if [ -f /etc/defaults/rc.conf ]; then
14 . /etc/defaults/rc.conf
15elif [ -f /etc/rc.conf ]; then
14 . /etc/rc.conf
15fi
16
17if [ -f /etc/rc.network ]; then
18 . /etc/rc.network
19else
20 echo "Sorry, I can't find /etc/rc.network - aborting."
21 exit 1
22fi
23
24echo 'Doing stage one network startup:'
25network_pass1
26exit 0
16 . /etc/rc.conf
17fi
18
19if [ -f /etc/rc.network ]; then
20 . /etc/rc.network
21else
22 echo "Sorry, I can't find /etc/rc.network - aborting."
23 exit 1
24fi
25
26echo 'Doing stage one network startup:'
27network_pass1
28exit 0