summaryrefslogtreecommitdiffstats
path: root/etc/rc.network6
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-12-11 08:21:46 +0000
committerru <ru@FreeBSD.org>2001-12-11 08:21:46 +0000
commit1104babdad2315df373f3ed99cf8a2f22171362a (patch)
tree2fffce8490743a92a967ebbb9429747cd047f864 /etc/rc.network6
parent12c2769b3fda37f5f5077e330d004300d3d09888 (diff)
downloadFreeBSD-src-1104babdad2315df373f3ed99cf8a2f22171362a.zip
FreeBSD-src-1104babdad2315df373f3ed99cf8a2f22171362a.tar.gz
s/sysctl -w/sysctl/
Diffstat (limited to 'etc/rc.network6')
-rw-r--r--etc/rc.network618
1 files changed, 9 insertions, 9 deletions
diff --git a/etc/rc.network6 b/etc/rc.network6
index 37dfae5..585dd99 100644
--- a/etc/rc.network6
+++ b/etc/rc.network6
@@ -109,7 +109,7 @@ network6_pass1() {
case ${ipv6_firewall_logging} in
[Yy][Ee][Ss] | '')
echo 'IPv6 Firewall logging=YES'
- sysctl -w net.inet6.ip6.fw.verbose=1 >/dev/null
+ sysctl net.inet6.ip6.fw.verbose=1 >/dev/null
;;
*)
;;
@@ -139,8 +139,8 @@ network6_pass1() {
case ${ipv6_gateway_enable} in
[Yy][Ee][Ss])
# act as a router
- sysctl -w net.inet6.ip6.forwarding=1
- sysctl -w net.inet6.ip6.accept_rtadv=0
+ sysctl net.inet6.ip6.forwarding=1
+ sysctl net.inet6.ip6.accept_rtadv=0
# wait for DAD
for i in $ipv6_network_interfaces; do
@@ -151,8 +151,8 @@ network6_pass1() {
;;
*)
# act as endhost - start with manual configuration
- sysctl -w net.inet6.ip6.forwarding=0
- sysctl -w net.inet6.ip6.accept_rtadv=0
+ sysctl net.inet6.ip6.forwarding=0
+ sysctl net.inet6.ip6.accept_rtadv=0
;;
esac
@@ -266,11 +266,11 @@ network6_pass1() {
case ${ipv6_ipv4mapping} in
[Yy][Ee][Ss])
echo -n ' IPv4 mapped IPv6 address support=YES'
- sysctl -w net.inet6.ip6.v6only=0 >/dev/null
+ sysctl net.inet6.ip6.v6only=0 >/dev/null
;;
'' | *)
echo -n ' IPv4 mapped IPv6 address support=NO'
- sysctl -w net.inet6.ip6.v6only=1 >/dev/null
+ sysctl net.inet6.ip6.v6only=1 >/dev/null
;;
esac
@@ -340,7 +340,7 @@ network6_interface_setup() {
# You can configure only single interface, as
# specification assumes that autoconfigured host has
# single interface only.
- sysctl -w net.inet6.ip6.accept_rtadv=1
+ sysctl net.inet6.ip6.accept_rtadv=1
set ${rtsol_interfaces}
ifconfig $1 up
rtsol $1
@@ -432,7 +432,7 @@ network6_faith_setup() {
[Nn][Oo] | '')
;;
*)
- sysctl -w net.inet6.ip6.keepfaith=1
+ sysctl net.inet6.ip6.keepfaith=1
ifconfig faith0 up
for prefix in ${ipv6_faith_prefix}; do
prefixlen=`expr "${prefix}" : ".*/\(.*\)"`
OpenPOWER on IntegriCloud