summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2004-02-25 08:42:39 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2004-02-25 08:42:39 +0000
commit6486637a6bf5ed573fb5c731b38f60ce655d9b81 (patch)
treea599fd75070aacc352535fbe7cdf636cdb66ab61 /share
parent6f96585c9df4243ccf9c1dc2d8e1617dcbf5fb4b (diff)
remove -w option to sysctl;
diffs from Paul de Weerd; ok deraadt@
Diffstat (limited to 'share')
-rw-r--r--share/doc/smm/01.setup/5.t4
-rw-r--r--share/ipsec/rc.vpn6
-rw-r--r--share/man/man4/carp.44
-rw-r--r--share/man/man8/vpn.810
4 files changed, 12 insertions, 12 deletions
diff --git a/share/doc/smm/01.setup/5.t b/share/doc/smm/01.setup/5.t
index 84cfa6a93ab..44a53fc745d 100644
--- a/share/doc/smm/01.setup/5.t
+++ b/share/doc/smm/01.setup/5.t
@@ -1,4 +1,4 @@
-.\" $OpenBSD: 5.t,v 1.3 2003/06/02 23:30:11 millert Exp $
+.\" $OpenBSD: 5.t,v 1.4 2004/02/25 08:42:38 jmc Exp $
.\"
.\" Copyright (c) 1980, 1986, 1988, 1993 The Regents of the University of California.
.\" All rights reserved.
@@ -337,7 +337,7 @@ The generation of redirects may be disabled with the configuration option
IPSENDREDIRECTS=0 or while the system is running by using the command:
.DS
.ft CW
-sysctl -w net.inet.ip.redirect=0
+sysctl net.inet.ip.redirect=0
.DE
in environments where it may cause difficulties.
.Sh 2 "Network databases"
diff --git a/share/ipsec/rc.vpn b/share/ipsec/rc.vpn
index 8c655be98c1..cec9fb979b6 100644
--- a/share/ipsec/rc.vpn
+++ b/share/ipsec/rc.vpn
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: rc.vpn,v 1.20 2003/11/07 10:16:45 jmc Exp $
+# $OpenBSD: rc.vpn,v 1.21 2004/02/25 08:42:38 jmc Exp $
#
# Richard Reiner, Ph.D., FSC Internet Corp.
# rreiner@fscinternet.com
@@ -12,8 +12,8 @@
# M remote networks. (N x M mesh)
#
# For this to work, you will need to have these enabled (in /etc/sysctl.conf):
-# 'sysctl -w net.inet.ip.forwarding=1' (IP packet routing)
-# 'sysctl -w net.inet.esp.enable=1' (IPsec ESP protocol)
+# 'sysctl net.inet.ip.forwarding=1' (IP packet routing)
+# 'sysctl net.inet.esp.enable=1' (IPsec ESP protocol)
# XXX The configuration parameters should be moved to another file.
diff --git a/share/man/man4/carp.4 b/share/man/man4/carp.4
index a1cff5d1650..e4eceaa34cd 100644
--- a/share/man/man4/carp.4
+++ b/share/man/man4/carp.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: carp.4,v 1.5 2003/12/08 10:03:43 markus Exp $
+.\" $OpenBSD: carp.4,v 1.6 2004/02/25 08:42:38 jmc Exp $
.\"
.\" Copyright (c) 2003, Ryan McBride. All rights reserved.
.\"
@@ -105,7 +105,7 @@ The configuration is identical, except we skew virtual host 1 instead.
.Pp
Finally, the ARP balancing feature must be enabled on both hosts:
.Pp
-.Dl # sysctl -w net.inet.carp.arpbalance=1
+.Dl # sysctl net.inet.carp.arpbalance=1
.Pp
When the hosts receive an ARP request for 192.168.1.10, they both select
one of the virtual hosts based on the source IP address in the request.
diff --git a/share/man/man8/vpn.8 b/share/man/man8/vpn.8
index e6d6932d6c5..11fbc977abb 100644
--- a/share/man/man8/vpn.8
+++ b/share/man/man8/vpn.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: vpn.8,v 1.71 2004/02/06 05:35:27 jmc Exp $
+.\" $OpenBSD: vpn.8,v 1.72 2004/02/25 08:42:38 jmc Exp $
.\"
.\" Copyright 1998 Niels Provos <provos@physnet.uni-hamburg.de>
.\" All rights reserved.
@@ -89,8 +89,8 @@ Before doing either manual or automated keying, or performing
encryption (ESP) or authentication (AH) operations, ensure the appropriate
kernel operation has been enabled:
.Bd -literal -offset indent
-# sysctl -w net.inet.esp.enable=1
-# sysctl -w net.inet.ah.enable=1
+# sysctl net.inet.esp.enable=1
+# sysctl net.inet.ah.enable=1
.Ed
.Pp
The ESP and AH protocols default to 'on'.
@@ -98,8 +98,8 @@ The ESP and AH protocols default to 'on'.
For security gateways, proper operation often also requires packet
forwarding to be enabled:
.Bd -literal -offset indent
-# sysctl -w net.inet.ip.forwarding=1
-# sysctl -w net.inet6.ip6.forwarding=1
+# sysctl net.inet.ip.forwarding=1
+# sysctl net.inet6.ip6.forwarding=1
.Ed
.Pp
Packet forwarding defaults to 'off'.