summaryrefslogtreecommitdiffstats
path: root/etc/rc.network
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.network')
-rw-r--r--etc/rc.network13
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
OpenPOWER on IntegriCloud