diff options
author | jkh <jkh@FreeBSD.org> | 1997-05-01 20:28:18 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-05-01 20:28:18 +0000 |
commit | abc578407b3eea0c1d724355a29f021c434e72fb (patch) | |
tree | 612ca2e96702fb9a2d6b4662fb2ef9d8b1e199e7 /etc/network.subr | |
parent | 190f7e4d5b1aebe7ad8c3b6e5f41224647631c20 (diff) | |
download | FreeBSD-src-abc578407b3eea0c1d724355a29f021c434e72fb.zip FreeBSD-src-abc578407b3eea0c1d724355a29f021c434e72fb.tar.gz |
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
Diffstat (limited to 'etc/network.subr')
-rw-r--r-- | etc/network.subr | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/etc/network.subr b/etc/network.subr index fc534ed..95f04f4 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 |