aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown-ipv6
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-08-15 20:11:15 +0000
committerBill Nottingham <notting@redhat.com>2003-08-15 20:11:15 +0000
commitb71ed21d56f9cc1e2aa9ced52f0a860e736a674e (patch)
tree0aa2778ad81079e8168d107d5128b9fe50fa593a /sysconfig/network-scripts/ifdown-ipv6
parent901018dd876e305d05c205415175ab630729dde4 (diff)
downloadinitscripts-b71ed21d56f9cc1e2aa9ced52f0a860e736a674e.tar
initscripts-b71ed21d56f9cc1e2aa9ced52f0a860e736a674e.tar.gz
initscripts-b71ed21d56f9cc1e2aa9ced52f0a860e736a674e.tar.bz2
initscripts-b71ed21d56f9cc1e2aa9ced52f0a860e736a674e.tar.xz
initscripts-b71ed21d56f9cc1e2aa9ced52f0a860e736a674e.zip
IPv6 updates & tweaks <pekkas@netcore.fi>
Diffstat (limited to 'sysconfig/network-scripts/ifdown-ipv6')
-rwxr-xr-xsysconfig/network-scripts/ifdown-ipv66
1 files changed, 3 insertions, 3 deletions
diff --git a/sysconfig/network-scripts/ifdown-ipv6 b/sysconfig/network-scripts/ifdown-ipv6
index 375ee78e..8feabb71 100755
--- a/sysconfig/network-scripts/ifdown-ipv6
+++ b/sysconfig/network-scripts/ifdown-ipv6
@@ -70,9 +70,9 @@ if [ $? != 0 -a $? != 11 ]; then
fi
# Switch some sysctls to secure mode
-ipv6_exec_sysctl -w net.ipv6.conf.$DEVICE.forwarding=0 >/dev/null
-ipv6_exec_sysctl -w net.ipv6.conf.$DEVICE.accept_ra=0 >/dev/null
-ipv6_exec_sysctl -w net.ipv6.conf.$DEVICE.accept_redirects=0 >/dev/null
+ipv6_exec_sysctl -w net.ipv6.conf.$DEVICE.forwarding=0 >/dev/null 2>&1
+ipv6_exec_sysctl -w net.ipv6.conf.$DEVICE.accept_ra=0 >/dev/null 2>&1
+ipv6_exec_sysctl -w net.ipv6.conf.$DEVICE.accept_redirects=0 >/dev/null 2>&1
# Shutdown of 6to4, if configured
valid6to4config="yes"