Deleted Added
full compact
defaultroute (56038) defaultroute (57012)
1#!/bin/sh -
2#
1#!/bin/sh -
2#
3# $FreeBSD: head/etc/rc.d/routing 56038 2000-01-15 14:28:14Z green $
3# $FreeBSD: head/etc/rc.d/routing 57012 2000-02-06 16:33:54Z hm $
4# From: @(#)netstart 5.9 (Berkeley) 3/30/91
5
6# Note that almost all of the user-configurable behavior is no longer in
7# this file, but rather in /etc/defaults/rc.conf. Please check that file
8# first before contemplating any changes here. If you do need to change
9# this file for some reason, we would like to know about it.
10
11# First pass startup stuff.

--- 27 unchanged lines hidden (view full) ---

39 [Yy][Ee][Ss])
40 if [ -r /etc/rc.atm ]; then
41 . /etc/rc.atm
42 atm_pass1
43 fi
44 ;;
45 esac
46
4# From: @(#)netstart 5.9 (Berkeley) 3/30/91
5
6# Note that almost all of the user-configurable behavior is no longer in
7# this file, but rather in /etc/defaults/rc.conf. Please check that file
8# first before contemplating any changes here. If you do need to change
9# this file for some reason, we would like to know about it.
10
11# First pass startup stuff.

--- 27 unchanged lines hidden (view full) ---

39 [Yy][Ee][Ss])
40 if [ -r /etc/rc.atm ]; then
41 . /etc/rc.atm
42 atm_pass1
43 fi
44 ;;
45 esac
46
47 # ISDN subsystem startup
48 #
49 case ${isdn_enable} in
50 [Yy][Ee][Ss])
51 if [ -r /etc/rc.isdn ]; then
52 . /etc/rc.isdn
53 fi
54 ;;
55 esac
56
57 # Special options for sppp(4) interfaces go here. These need
58 # to go _before_ the general ifconfig section, since in the case
59 # of hardwired (no link1 flag) but required authentication, you
60 # cannot pass auth parameters down to the already running interface.
61 #
62 for ifn in ${sppp_interfaces}; do
63 eval spppcontrol_args=\$spppconfig_${ifn}
64 if [ -n "${spppcontrol_args}" ]; then

--- 68 unchanged lines hidden (view full) ---

133
134 for ifn in ${network_interfaces}; do
135 eval showstat=\$showstat_${ifn}
136 if [ ! -z ${showstat} ]; then
137 ifconfig ${ifn}
138 fi
139 done
140
47 # Special options for sppp(4) interfaces go here. These need
48 # to go _before_ the general ifconfig section, since in the case
49 # of hardwired (no link1 flag) but required authentication, you
50 # cannot pass auth parameters down to the already running interface.
51 #
52 for ifn in ${sppp_interfaces}; do
53 eval spppcontrol_args=\$spppconfig_${ifn}
54 if [ -n "${spppcontrol_args}" ]; then

--- 68 unchanged lines hidden (view full) ---

123
124 for ifn in ${network_interfaces}; do
125 eval showstat=\$showstat_${ifn}
126 if [ ! -z ${showstat} ]; then
127 ifconfig ${ifn}
128 fi
129 done
130
131 # ISDN subsystem startup
132 #
133 case ${isdn_enable} in
134 [Yy][Ee][Ss])
135 if [ -r /etc/rc.isdn ]; then
136 . /etc/rc.isdn
137 fi
138 ;;
139 esac
140
141 # Warm up user ppp if required, must happen before natd.
142 #
143 case ${ppp_enable} in
144 [Yy][Ee][Ss])
145 # Establish ppp mode.
146 #
147 if [ "${ppp_mode}" != "ddial" -a "${ppp_mode}" != "direct" \
148 -a "${ppp_mode}" != "dedicated" \

--- 476 unchanged lines hidden ---
141 # Warm up user ppp if required, must happen before natd.
142 #
143 case ${ppp_enable} in
144 [Yy][Ee][Ss])
145 # Establish ppp mode.
146 #
147 if [ "${ppp_mode}" != "ddial" -a "${ppp_mode}" != "direct" \
148 -a "${ppp_mode}" != "dedicated" \

--- 476 unchanged lines hidden ---