summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-05-01 20:28:18 +0000
committerjkh <jkh@FreeBSD.org>1997-05-01 20:28:18 +0000
commitabc578407b3eea0c1d724355a29f021c434e72fb (patch)
tree612ca2e96702fb9a2d6b4662fb2ef9d8b1e199e7 /etc
parent190f7e4d5b1aebe7ad8c3b6e5f41224647631c20 (diff)
downloadFreeBSD-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')
-rw-r--r--etc/network.subr12
-rw-r--r--etc/rc.d/netoptions12
-rw-r--r--etc/rc.d/network112
-rw-r--r--etc/rc.d/network212
-rw-r--r--etc/rc.d/network312
-rw-r--r--etc/rc.d/routing12
-rw-r--r--etc/rc.network12
7 files changed, 42 insertions, 42 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
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
diff --git a/etc/rc.network b/etc/rc.network
index fc534ed..95f04f4 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
OpenPOWER on IntegriCloud