netstart revision 179315
1234228Sluigi#!/bin/sh -
2249659Sluigi#
3234228Sluigi# Copyright (c) 1993  The FreeBSD Project
4234228Sluigi# All rights reserved.
5234228Sluigi#
6234228Sluigi# Redistribution and use in source and binary forms, with or without
7234228Sluigi# modification, are permitted provided that the following conditions
8234228Sluigi# are met:
9234228Sluigi# 1. Redistributions of source code must retain the above copyright
10234228Sluigi#    notice, this list of conditions and the following disclaimer.
11259412Sluigi# 2. Redistributions in binary form must reproduce the above copyright
12234228Sluigi#    notice, this list of conditions and the following disclaimer in the
13234228Sluigi#    documentation and/or other materials provided with the distribution.
14234228Sluigi#
15234228Sluigi# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16234228Sluigi# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17234228Sluigi# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18234228Sluigi# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19234228Sluigi# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20234228Sluigi# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21234228Sluigi# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22234228Sluigi# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23234228Sluigi# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24234228Sluigi# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25234228Sluigi# SUCH DAMAGE.
26257529Sluigi#
27257529Sluigi# $FreeBSD: head/etc/netstart 179315 2008-05-26 10:40:09Z bz $
28257529Sluigi#	From: @(#)netstart	5.9 (Berkeley) 3/30/91
29234228Sluigi#
30257529Sluigi
31257529Sluigi# This file is NOT called by any of the other scripts - it has been
32257529Sluigi# obsoleted by /etc/rc.d/* and is provided here only for user
33234228Sluigi# convenience (if you're sitting in single user mode and wish to start
34257529Sluigi# the network by hand, this script will do it for you).
35257529Sluigi#
36257529Sluigi
37234228Sluigi. /etc/rc.subr
38257529Sluigi
39257529Sluigiload_rc_config 'XXX'
40257529Sluigi_start=quietstart
41257529Sluigi
42257529Sluigi/etc/rc.d/devd ${_start}
43257529Sluigi/etc/rc.d/hostname ${_start}
44257529Sluigi/etc/rc.d/ipmon ${_start}
45257529Sluigi/etc/rc.d/ipfilter ${_start}
46257529Sluigi/etc/rc.d/ipnat ${_start}
47257529Sluigi/etc/rc.d/ipfs ${_start}
48257529Sluigi/etc/rc.d/sppp ${_start}
49257529Sluigi# /etc/rc.d/atm1 ${_start}
50257529Sluigi# . /etc/rc.d/atm2.sh ${_start}
51257529Sluigi# . /etc/rc.d/atm3.sh ${_start}
52257529Sluigi/etc/rc.d/netif ${_start}
53257529Sluigi/etc/rc.d/ipsec ${_start}
54257529Sluigi/etc/rc.d/dhclient ${_start}
55257529Sluigi/etc/rc.d/ppp ${_start}
56257529Sluigi/etc/rc.d/ipfw ${_start}
57241719Sluigi/etc/rc.d/ip6fw ${_start}
58257529Sluigi/etc/rc.d/network_ipv6 ${_start}
59257529Sluigi/etc/rc.d/routing ${_start}
60257529Sluigi/etc/rc.d/mroute6d ${_start}
61257529Sluigi/etc/rc.d/route6d ${_start}
62241719Sluigi/etc/rc.d/mrouted ${_start}
63257529Sluigi/etc/rc.d/routed ${_start}
64257529Sluigi/etc/rc.d/nisdomain ${_start}
65257529Sluigi
66257529Sluigiexit 0
67241719Sluigi