diff options
author | pst <pst@FreeBSD.org> | 1997-07-06 00:33:34 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1997-07-06 00:33:34 +0000 |
commit | e052207ec25aa5b1ce0d22ca5110b7047ab9874f (patch) | |
tree | b8460b1d8256b4c115a40ee1619e002e17156265 /etc/rc.network | |
parent | 27f026307fced96c7279c6343bb3a5f92b677951 (diff) | |
download | FreeBSD-src-e052207ec25aa5b1ce0d22ca5110b7047ab9874f.zip FreeBSD-src-e052207ec25aa5b1ce0d22ca5110b7047ab9874f.tar.gz |
Merge from 2.2 (tcp extensions in phase 1)
Diffstat (limited to 'etc/rc.network')
-rw-r--r-- | etc/rc.network | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/etc/rc.network b/etc/rc.network index 398b867..3c5657d 100644 --- a/etc/rc.network +++ b/etc/rc.network @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.network,v 1.7 1997/05/13 08:22:27 jkh Exp $ +# $Id: rc.network,v 1.8 1997/05/19 07:46:48 jkh Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # Note that almost all the user-configurable behavior is no longer in @@ -75,6 +75,12 @@ network_pass1() { fi echo -n 'Additional routing options:' + if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then + echo -n ' tcp extensions=NO' + sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1 + sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1 + fi + if [ "X$gateway_enable" = X"YES" ]; then echo -n ' IP gateway=YES' sysctl -w net.inet.ip.forwarding=1 >/dev/null 2>&1 @@ -104,11 +110,6 @@ network_pass1() { network_pass2() { echo -n 'Doing additional network setup:' - if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then - echo -n ' tcp extensions=NO' - sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1 - sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1 - fi if [ "X${named_enable}" = X"YES" ]; then echo -n ' named'; named ${named_flags} fi |