Deleted Added
full compact
network.subr (44992) network.subr (45096)
1#!/bin/sh -
2#
1#!/bin/sh -
2#
3# $Id: rc.network,v 1.40 1999/03/11 16:17:24 jfitz Exp $
3# $Id: rc.network,v 1.41 1999/03/24 10:28:49 brian Exp $
4# From: @(#)netstart 5.9 (Berkeley) 3/30/91
5
6# Note that almost all the user-configurable behavior is no longer in
7# this file, but rather in /etc/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.

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

146 fi
147
148 echo -n 'Additional routing options:'
149 if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then
150 echo -n ' tcp extensions=NO'
151 sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1
152 fi
153
4# From: @(#)netstart 5.9 (Berkeley) 3/30/91
5
6# Note that almost all the user-configurable behavior is no longer in
7# this file, but rather in /etc/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.

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

146 fi
147
148 echo -n 'Additional routing options:'
149 if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then
150 echo -n ' tcp extensions=NO'
151 sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1
152 fi
153
154 if [ -n "$log_in_vain" -a "x$log_in_vain" != "xNO" ] ; then
155 echo -n ' log_in_vain=YES'
156 sysctl -w net.inet.tcp.log_in_vain=1 >/dev/null 2>&1
157 sysctl -w net.inet.udp.log_in_vain=1 >/dev/null 2>&1
158 fi
159
154 if [ X"$icmp_bmcastecho" = X"YES" ]; then
155 echo -n ' broadcast ping responses=YES'
156 sysctl -w net.inet.icmp.bmcastecho=1 >/dev/null 2>&1
157 fi
158
159 if [ "X$gateway_enable" = X"YES" ]; then
160 echo -n ' IP gateway=YES'
161 sysctl -w net.inet.ip.forwarding=1 >/dev/null 2>&1

--- 166 unchanged lines hidden ---
160 if [ X"$icmp_bmcastecho" = X"YES" ]; then
161 echo -n ' broadcast ping responses=YES'
162 sysctl -w net.inet.icmp.bmcastecho=1 >/dev/null 2>&1
163 fi
164
165 if [ "X$gateway_enable" = X"YES" ]; then
166 echo -n ' IP gateway=YES'
167 sysctl -w net.inet.ip.forwarding=1 >/dev/null 2>&1

--- 166 unchanged lines hidden ---