netstart revision 256281
1249259Sdim#!/bin/sh -
2249259Sdim#
3249259Sdim# Copyright (c) 1993  The FreeBSD Project
4249259Sdim# All rights reserved.
5249259Sdim#
6249259Sdim# Redistribution and use in source and binary forms, with or without
7249259Sdim# modification, are permitted provided that the following conditions
8249259Sdim# are met:
9249259Sdim# 1. Redistributions of source code must retain the above copyright
10249259Sdim#    notice, this list of conditions and the following disclaimer.
11249259Sdim# 2. Redistributions in binary form must reproduce the above copyright
12249259Sdim#    notice, this list of conditions and the following disclaimer in the
13249259Sdim#    documentation and/or other materials provided with the distribution.
14249259Sdim#
15249259Sdim# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16249259Sdim# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17249259Sdim# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18249259Sdim# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19249259Sdim# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20249259Sdim# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21249259Sdim# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22249259Sdim# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23249259Sdim# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24249259Sdim# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25249259Sdim# SUCH DAMAGE.
26249259Sdim#
27249259Sdim# $FreeBSD: stable/10/etc/netstart 230389 2012-01-20 17:25:15Z rea $
28249259Sdim#	From: @(#)netstart	5.9 (Berkeley) 3/30/91
29249259Sdim#
30249259Sdim
31249259Sdim# This file is NOT called by any of the other scripts - it has been
32249259Sdim# obsoleted by /etc/rc.d/* and is provided here only for user
33249259Sdim# convenience (if you're sitting in single user mode and wish to start
34266715Sdim# the network by hand, this script will do it for you).
35266715Sdim#
36249259Sdim
37249259Sdim. /etc/rc.subr
38249259Sdim
39263508Sdimload_rc_config 'XXX'
40249259Sdim_start=quietstart
41263508Sdim
42263508Sdim/etc/rc.d/devd ${_start}
43249259Sdim/etc/rc.d/hostid ${_start}
44249259Sdim/etc/rc.d/hostname ${_start}
45249259Sdim/etc/rc.d/ipmon ${_start}
46249259Sdim/etc/rc.d/ipfilter ${_start}
47249259Sdim/etc/rc.d/ipnat ${_start}
48249259Sdim/etc/rc.d/ipfs ${_start}
49249259Sdim/etc/rc.d/sppp ${_start}
50263508Sdim# /etc/rc.d/atm1 ${_start}
51263508Sdim# . /etc/rc.d/atm2.sh ${_start}
52263508Sdim# . /etc/rc.d/atm3.sh ${_start}
53263508Sdim/etc/rc.d/netif ${_start}
54263508Sdim/etc/rc.d/ipsec ${_start}
55263508Sdim/etc/rc.d/ppp ${_start}
56263508Sdim/etc/rc.d/ipfw ${_start}
57263508Sdim/etc/rc.d/routing ${_start}
58263508Sdim/etc/rc.d/mroute6d ${_start}
59263508Sdim/etc/rc.d/route6d ${_start}
60263508Sdim/etc/rc.d/mrouted ${_start}
61263508Sdim/etc/rc.d/routed ${_start}
62263508Sdim/etc/rc.d/nisdomain ${_start}
63263508Sdim
64263508Sdimexit 0
65263508Sdim