aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown-ipv6
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-07-31 18:31:37 -0400
committerBill Nottingham <notting@redhat.com>2009-07-31 21:00:12 -0400
commitc066eb08513033430db1536cacff147738de4a24 (patch)
tree6d0be66cc377aaa92a4d7e110cba5326159519fc /sysconfig/network-scripts/ifdown-ipv6
parente966000b6970353a6b3cf62cbd2459812ad4076c (diff)
downloadinitscripts-c066eb08513033430db1536cacff147738de4a24.tar
initscripts-c066eb08513033430db1536cacff147738de4a24.tar.gz
initscripts-c066eb08513033430db1536cacff147738de4a24.tar.bz2
initscripts-c066eb08513033430db1536cacff147738de4a24.tar.xz
initscripts-c066eb08513033430db1536cacff147738de4a24.zip
More ipv6_exec_sysctl removals.
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 c6674ca7..e174ec90 100755
--- a/sysconfig/network-scripts/ifdown-ipv6
+++ b/sysconfig/network-scripts/ifdown-ipv6
@@ -64,9 +64,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 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
+/sbin/sysctl -e -w net.ipv6.conf.$DEVICE.forwarding=0 >/dev/null 2>&1
+/sbin/sysctl -e -w net.ipv6.conf.$DEVICE.accept_ra=0 >/dev/null 2>&1
+/sbin/sysctl -e -w net.ipv6.conf.$DEVICE.accept_redirects=0 >/dev/null 2>&1
# Test status of tun6to4 device
ipv6_test_device_status tun6to4