From 8141a0b6392341e31002028a4aab9a6122ee3f98 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Thu, 1 May 1997 20:28:18 +0000 Subject: [PATCH] Ack, learn to spell "extentions" the same way in the same file. Also make the output a little less cryptic for sysctl settings. Suggested by: bde --- etc/network.subr | 12 ++++++------ etc/rc.d/netoptions | 12 ++++++------ etc/rc.d/network1 | 12 ++++++------ etc/rc.d/network2 | 12 ++++++------ etc/rc.d/network3 | 12 ++++++------ etc/rc.d/routing | 12 ++++++------ etc/rc.network | 12 ++++++------ 7 files changed, 42 insertions(+), 42 deletions(-) diff --git a/etc/network.subr b/etc/network.subr index fc534ed4cca6..95f04f4e358e 100644 --- a/etc/network.subr +++ b/etc/network.subr @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.network,v 1.3 1997/05/01 04:38:16 jkh Exp $ +# $Id: rc.network,v 1.4 1997/05/01 20:04:42 jkh Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # Note that almost all the user-configurable behavior is no longer in @@ -76,7 +76,7 @@ network_pass1() { echo -n 'Additional routing options:' if [ "X$gateway_enable" = X"YES" ]; then - echo -n ' IP gateway=1' + echo -n ' IP gateway=YES' sysctl -w net.inet.ip.forwarding=1 >/dev/null 2>&1 fi @@ -85,7 +85,7 @@ network_pass1() { fi if [ "X$ipxgateway_enable" = X"YES" ]; then - echo -n ' IPX gateway=1' + echo -n ' IPX gateway=YES' sysctl -w net.ipx.ipx.ipxforwarding=1 >/dev/null 2>&1 fi @@ -99,8 +99,8 @@ network_pass1() { network_pass2() { echo -n 'Doing additional network setup:' - if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then - echo -n ' tcp extentions=0' + if [ -n "$tcp_extentions" -a "x$tcp_extentions" != "xYES" ] ; then + echo -n ' tcp extentions=NO' sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1 sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1 fi @@ -166,7 +166,7 @@ network_pass3() { fi mountd ${mountd_flags} if [ "X${nfs_reserved_port_only}" = X"YES" ]; then - echo -n ' nfsprivport=1' + echo -n ' nfsprivport=YES' sysctl -w vfs.nfs.nfs_privport=1 >/dev/null 2>&1 fi echo -n ' nfsd'; nfsd -u -t 4 diff --git a/etc/rc.d/netoptions b/etc/rc.d/netoptions index fc534ed4cca6..95f04f4e358e 100644 --- a/etc/rc.d/netoptions +++ b/etc/rc.d/netoptions @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.network,v 1.3 1997/05/01 04:38:16 jkh Exp $ +# $Id: rc.network,v 1.4 1997/05/01 20:04:42 jkh Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # Note that almost all the user-configurable behavior is no longer in @@ -76,7 +76,7 @@ network_pass1() { echo -n 'Additional routing options:' if [ "X$gateway_enable" = X"YES" ]; then - echo -n ' IP gateway=1' + echo -n ' IP gateway=YES' sysctl -w net.inet.ip.forwarding=1 >/dev/null 2>&1 fi @@ -85,7 +85,7 @@ network_pass1() { fi if [ "X$ipxgateway_enable" = X"YES" ]; then - echo -n ' IPX gateway=1' + echo -n ' IPX gateway=YES' sysctl -w net.ipx.ipx.ipxforwarding=1 >/dev/null 2>&1 fi @@ -99,8 +99,8 @@ network_pass1() { network_pass2() { echo -n 'Doing additional network setup:' - if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then - echo -n ' tcp extentions=0' + if [ -n "$tcp_extentions" -a "x$tcp_extentions" != "xYES" ] ; then + echo -n ' tcp extentions=NO' sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1 sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1 fi @@ -166,7 +166,7 @@ network_pass3() { fi mountd ${mountd_flags} if [ "X${nfs_reserved_port_only}" = X"YES" ]; then - echo -n ' nfsprivport=1' + echo -n ' nfsprivport=YES' sysctl -w vfs.nfs.nfs_privport=1 >/dev/null 2>&1 fi echo -n ' nfsd'; nfsd -u -t 4 diff --git a/etc/rc.d/network1 b/etc/rc.d/network1 index fc534ed4cca6..95f04f4e358e 100644 --- a/etc/rc.d/network1 +++ b/etc/rc.d/network1 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.network,v 1.3 1997/05/01 04:38:16 jkh Exp $ +# $Id: rc.network,v 1.4 1997/05/01 20:04:42 jkh Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # Note that almost all the user-configurable behavior is no longer in @@ -76,7 +76,7 @@ network_pass1() { echo -n 'Additional routing options:' if [ "X$gateway_enable" = X"YES" ]; then - echo -n ' IP gateway=1' + echo -n ' IP gateway=YES' sysctl -w net.inet.ip.forwarding=1 >/dev/null 2>&1 fi @@ -85,7 +85,7 @@ network_pass1() { fi if [ "X$ipxgateway_enable" = X"YES" ]; then - echo -n ' IPX gateway=1' + echo -n ' IPX gateway=YES' sysctl -w net.ipx.ipx.ipxforwarding=1 >/dev/null 2>&1 fi @@ -99,8 +99,8 @@ network_pass1() { network_pass2() { echo -n 'Doing additional network setup:' - if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then - echo -n ' tcp extentions=0' + if [ -n "$tcp_extentions" -a "x$tcp_extentions" != "xYES" ] ; then + echo -n ' tcp extentions=NO' sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1 sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1 fi @@ -166,7 +166,7 @@ network_pass3() { fi mountd ${mountd_flags} if [ "X${nfs_reserved_port_only}" = X"YES" ]; then - echo -n ' nfsprivport=1' + echo -n ' nfsprivport=YES' sysctl -w vfs.nfs.nfs_privport=1 >/dev/null 2>&1 fi echo -n ' nfsd'; nfsd -u -t 4 diff --git a/etc/rc.d/network2 b/etc/rc.d/network2 index fc534ed4cca6..95f04f4e358e 100644 --- a/etc/rc.d/network2 +++ b/etc/rc.d/network2 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.network,v 1.3 1997/05/01 04:38:16 jkh Exp $ +# $Id: rc.network,v 1.4 1997/05/01 20:04:42 jkh Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # Note that almost all the user-configurable behavior is no longer in @@ -76,7 +76,7 @@ network_pass1() { echo -n 'Additional routing options:' if [ "X$gateway_enable" = X"YES" ]; then - echo -n ' IP gateway=1' + echo -n ' IP gateway=YES' sysctl -w net.inet.ip.forwarding=1 >/dev/null 2>&1 fi @@ -85,7 +85,7 @@ network_pass1() { fi if [ "X$ipxgateway_enable" = X"YES" ]; then - echo -n ' IPX gateway=1' + echo -n ' IPX gateway=YES' sysctl -w net.ipx.ipx.ipxforwarding=1 >/dev/null 2>&1 fi @@ -99,8 +99,8 @@ network_pass1() { network_pass2() { echo -n 'Doing additional network setup:' - if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then - echo -n ' tcp extentions=0' + if [ -n "$tcp_extentions" -a "x$tcp_extentions" != "xYES" ] ; then + echo -n ' tcp extentions=NO' sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1 sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1 fi @@ -166,7 +166,7 @@ network_pass3() { fi mountd ${mountd_flags} if [ "X${nfs_reserved_port_only}" = X"YES" ]; then - echo -n ' nfsprivport=1' + echo -n ' nfsprivport=YES' sysctl -w vfs.nfs.nfs_privport=1 >/dev/null 2>&1 fi echo -n ' nfsd'; nfsd -u -t 4 diff --git a/etc/rc.d/network3 b/etc/rc.d/network3 index fc534ed4cca6..95f04f4e358e 100644 --- a/etc/rc.d/network3 +++ b/etc/rc.d/network3 @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.network,v 1.3 1997/05/01 04:38:16 jkh Exp $ +# $Id: rc.network,v 1.4 1997/05/01 20:04:42 jkh Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # Note that almost all the user-configurable behavior is no longer in @@ -76,7 +76,7 @@ network_pass1() { echo -n 'Additional routing options:' if [ "X$gateway_enable" = X"YES" ]; then - echo -n ' IP gateway=1' + echo -n ' IP gateway=YES' sysctl -w net.inet.ip.forwarding=1 >/dev/null 2>&1 fi @@ -85,7 +85,7 @@ network_pass1() { fi if [ "X$ipxgateway_enable" = X"YES" ]; then - echo -n ' IPX gateway=1' + echo -n ' IPX gateway=YES' sysctl -w net.ipx.ipx.ipxforwarding=1 >/dev/null 2>&1 fi @@ -99,8 +99,8 @@ network_pass1() { network_pass2() { echo -n 'Doing additional network setup:' - if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then - echo -n ' tcp extentions=0' + if [ -n "$tcp_extentions" -a "x$tcp_extentions" != "xYES" ] ; then + echo -n ' tcp extentions=NO' sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1 sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1 fi @@ -166,7 +166,7 @@ network_pass3() { fi mountd ${mountd_flags} if [ "X${nfs_reserved_port_only}" = X"YES" ]; then - echo -n ' nfsprivport=1' + echo -n ' nfsprivport=YES' sysctl -w vfs.nfs.nfs_privport=1 >/dev/null 2>&1 fi echo -n ' nfsd'; nfsd -u -t 4 diff --git a/etc/rc.d/routing b/etc/rc.d/routing index fc534ed4cca6..95f04f4e358e 100644 --- a/etc/rc.d/routing +++ b/etc/rc.d/routing @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.network,v 1.3 1997/05/01 04:38:16 jkh Exp $ +# $Id: rc.network,v 1.4 1997/05/01 20:04:42 jkh Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # Note that almost all the user-configurable behavior is no longer in @@ -76,7 +76,7 @@ network_pass1() { echo -n 'Additional routing options:' if [ "X$gateway_enable" = X"YES" ]; then - echo -n ' IP gateway=1' + echo -n ' IP gateway=YES' sysctl -w net.inet.ip.forwarding=1 >/dev/null 2>&1 fi @@ -85,7 +85,7 @@ network_pass1() { fi if [ "X$ipxgateway_enable" = X"YES" ]; then - echo -n ' IPX gateway=1' + echo -n ' IPX gateway=YES' sysctl -w net.ipx.ipx.ipxforwarding=1 >/dev/null 2>&1 fi @@ -99,8 +99,8 @@ network_pass1() { network_pass2() { echo -n 'Doing additional network setup:' - if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then - echo -n ' tcp extentions=0' + if [ -n "$tcp_extentions" -a "x$tcp_extentions" != "xYES" ] ; then + echo -n ' tcp extentions=NO' sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1 sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1 fi @@ -166,7 +166,7 @@ network_pass3() { fi mountd ${mountd_flags} if [ "X${nfs_reserved_port_only}" = X"YES" ]; then - echo -n ' nfsprivport=1' + echo -n ' nfsprivport=YES' sysctl -w vfs.nfs.nfs_privport=1 >/dev/null 2>&1 fi echo -n ' nfsd'; nfsd -u -t 4 diff --git a/etc/rc.network b/etc/rc.network index fc534ed4cca6..95f04f4e358e 100644 --- a/etc/rc.network +++ b/etc/rc.network @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: rc.network,v 1.3 1997/05/01 04:38:16 jkh Exp $ +# $Id: rc.network,v 1.4 1997/05/01 20:04:42 jkh Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 # Note that almost all the user-configurable behavior is no longer in @@ -76,7 +76,7 @@ network_pass1() { echo -n 'Additional routing options:' if [ "X$gateway_enable" = X"YES" ]; then - echo -n ' IP gateway=1' + echo -n ' IP gateway=YES' sysctl -w net.inet.ip.forwarding=1 >/dev/null 2>&1 fi @@ -85,7 +85,7 @@ network_pass1() { fi if [ "X$ipxgateway_enable" = X"YES" ]; then - echo -n ' IPX gateway=1' + echo -n ' IPX gateway=YES' sysctl -w net.ipx.ipx.ipxforwarding=1 >/dev/null 2>&1 fi @@ -99,8 +99,8 @@ network_pass1() { network_pass2() { echo -n 'Doing additional network setup:' - if [ -n "$tcp_extensions" -a "x$tcp_extensions" != "xYES" ] ; then - echo -n ' tcp extentions=0' + if [ -n "$tcp_extentions" -a "x$tcp_extentions" != "xYES" ] ; then + echo -n ' tcp extentions=NO' sysctl -w net.inet.tcp.rfc1323=0 >/dev/null 2>&1 sysctl -w net.inet.tcp.rfc1644=0 >/dev/null 2>&1 fi @@ -166,7 +166,7 @@ network_pass3() { fi mountd ${mountd_flags} if [ "X${nfs_reserved_port_only}" = X"YES" ]; then - echo -n ' nfsprivport=1' + echo -n ' nfsprivport=YES' sysctl -w vfs.nfs.nfs_privport=1 >/dev/null 2>&1 fi echo -n ' nfsd'; nfsd -u -t 4