netstart revision 151843
1290650Shselasky#!/bin/sh -
2322150Shselasky#
3290650Shselasky# Copyright (c) 1993  The FreeBSD Project
4290650Shselasky# All rights reserved.
5290650Shselasky#
6290650Shselasky# Redistribution and use in source and binary forms, with or without
7290650Shselasky# modification, are permitted provided that the following conditions
8290650Shselasky# are met:
9290650Shselasky# 1. Redistributions of source code must retain the above copyright
10290650Shselasky#    notice, this list of conditions and the following disclaimer.
11290650Shselasky# 2. Redistributions in binary form must reproduce the above copyright
12290650Shselasky#    notice, this list of conditions and the following disclaimer in the
13290650Shselasky#    documentation and/or other materials provided with the distribution.
14290650Shselasky#
15290650Shselasky# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16290650Shselasky# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17290650Shselasky# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18290650Shselasky# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19290650Shselasky# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20290650Shselasky# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21290650Shselasky# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22290650Shselasky# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23290650Shselasky# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24290650Shselasky# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25290650Shselasky# SUCH DAMAGE.
26290650Shselasky#
27290650Shselasky# $FreeBSD: head/etc/netstart 151843 2005-10-29 05:08:00Z yar $
28290650Shselasky#	From: @(#)netstart	5.9 (Berkeley) 3/30/91
29290650Shselasky#
30322144Shselasky
31290650Shselasky# This file is NOT called by any of the other scripts - it has been
32290650Shselasky# obsoleted by /etc/rc.d/* and is provided here only for user
33290650Shselasky# convenience (if you're sitting in single user mode and wish to start
34322150Shselasky# the network by hand, this script will do it for you).
35322150Shselasky#
36290650Shselasky
37290650Shselasky. /etc/rc.subr
38290650Shselasky
39290650Shselaskyload_rc_config 'XXX'
40290650Shselasky/etc/rc.d/pccard start
41290650Shselasky/etc/rc.d/devd start
42290650Shselasky/etc/rc.d/hostname start
43290650Shselasky/etc/rc.d/ipmon start
44290650Shselasky/etc/rc.d/ipfilter start
45290650Shselasky/etc/rc.d/ipnat start
46290650Shselasky/etc/rc.d/ipfs start
47290650Shselasky/etc/rc.d/sppp start
48322150Shselasky# /etc/rc.d/atm1 start
49322150Shselasky# . /etc/rc.d/atm2.sh start
50322150Shselasky# . /etc/rc.d/atm3.sh start
51322150Shselasky/etc/rc.d/netif start
52322150Shselasky/etc/rc.d/ipsec start
53290650Shselasky/etc/rc.d/dhclient start
54322150Shselasky/etc/rc.d/isdnd start
55322150Shselasky/etc/rc.d/ppp start
56322150Shselasky/etc/rc.d/ipfw start
57322150Shselasky/etc/rc.d/ip6fw start
58322150Shselasky/etc/rc.d/network_ipv6 start
59322150Shselasky/etc/rc.d/routing start
60322150Shselasky/etc/rc.d/mroute6d start
61322150Shselasky/etc/rc.d/route6d start
62322150Shselasky/etc/rc.d/mrouted start
63322150Shselasky/etc/rc.d/routed start
64322150Shselasky/etc/rc.d/nisdomain start
65322150Shselasky
66322150Shselaskyexit 0
67322150Shselasky