diff options
author | Bill Nottingham <notting@redhat.com> | 2009-07-31 18:31:37 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2009-07-31 21:00:12 -0400 |
commit | c066eb08513033430db1536cacff147738de4a24 (patch) | |
tree | 6d0be66cc377aaa92a4d7e110cba5326159519fc /sysconfig/network-scripts/init.ipv6-global | |
parent | e966000b6970353a6b3cf62cbd2459812ad4076c (diff) | |
download | initscripts-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/init.ipv6-global')
-rwxr-xr-x | sysconfig/network-scripts/init.ipv6-global | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sysconfig/network-scripts/init.ipv6-global b/sysconfig/network-scripts/init.ipv6-global index 40dcdc27..2a5c3dff 100755 --- a/sysconfig/network-scripts/init.ipv6-global +++ b/sysconfig/network-scripts/init.ipv6-global @@ -67,11 +67,11 @@ case $ACTION in for i in /proc/sys/net/ipv6/conf/* ; do interface=${i##*/} # Host/Router behaviour for the interface - ipv6_exec_sysctl -w net.ipv6.conf.$interface.forwarding=$ipv6_global_forwarding >/dev/null 2>&1 + /sbin/sysctl -e -w net.ipv6.conf.$interface.forwarding=$ipv6_global_forwarding >/dev/null 2>&1 # Autoconfiguration and redirect handling for Hosts - ipv6_exec_sysctl -w net.ipv6.conf.$interface.accept_ra=$ipv6_global_auto >/dev/null 2>&1 - ipv6_exec_sysctl -w net.ipv6.conf.$interface.accept_redirects=$ipv6_global_auto >/dev/null 2>&1 + /sbin/sysctl -e -w net.ipv6.conf.$interface.accept_ra=$ipv6_global_auto >/dev/null 2>&1 + /sbin/sysctl -e -w net.ipv6.conf.$interface.accept_redirects=$ipv6_global_auto >/dev/null 2>&1 done ;; @@ -137,11 +137,11 @@ case $ACTION in for i in /proc/sys/net/ipv6/conf/* ; do interface=${i##*/} # Assume Host behaviour - ipv6_exec_sysctl -w net.ipv6.conf.$interface.forwarding=0 >/dev/null 2>&1 + /sbin/sysctl -e -w net.ipv6.conf.$interface.forwarding=0 >/dev/null 2>&1 # Disable autoconfiguration and redirects - ipv6_exec_sysctl -w net.ipv6.conf.$interface.accept_ra=0 >/dev/null 2>&1 - ipv6_exec_sysctl -w net.ipv6.conf.$interface.accept_redirects=0 >/dev/null 2>&1 + /sbin/sysctl -e -w net.ipv6.conf.$interface.accept_ra=0 >/dev/null 2>&1 + /sbin/sysctl -e -w net.ipv6.conf.$interface.accept_redirects=0 >/dev/null 2>&1 done # Cleanup still existing tunnel devices |