From abc578407b3eea0c1d724355a29f021c434e72fb Mon Sep 17 00:00:00 2001 From: jkh Date: Thu, 1 May 1997 20:28:18 +0000 Subject: 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/rc.d/netoptions | 12 ++++++------ etc/rc.d/network1 | 12 ++++++------ etc/rc.d/network2 | 12 ++++++------ etc/rc.d/network3 | 12 ++++++------ etc/rc.d/routing | 12 ++++++------ 5 files changed, 30 insertions(+), 30 deletions(-) (limited to 'etc/rc.d') diff --git a/etc/rc.d/netoptions b/etc/rc.d/netoptions index fc534ed..95f04f4 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 fc534ed..95f04f4 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 fc534ed..95f04f4 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 fc534ed..95f04f4 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 fc534ed..95f04f4 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 -- cgit v1.1