diff options
author | Petr Lautrbach <plautrba@redhat.com> | 2011-01-14 15:34:39 +0100 |
---|---|---|
committer | Petr Lautrbach <plautrba@redhat.com> | 2011-01-14 15:34:39 +0100 |
commit | bcc304450cc6c92e2eff57143f27b6c78990651c (patch) | |
tree | 6423c78a22bed170feece704db5ee391009f8e97 /sysconfig/network-scripts/ifup-ipv6 | |
parent | f1db9810c3fda50c887e33e83e80f767476dd446 (diff) | |
download | initscripts-bcc304450cc6c92e2eff57143f27b6c78990651c.tar initscripts-bcc304450cc6c92e2eff57143f27b6c78990651c.tar.gz initscripts-bcc304450cc6c92e2eff57143f27b6c78990651c.tar.bz2 initscripts-bcc304450cc6c92e2eff57143f27b6c78990651c.tar.xz initscripts-bcc304450cc6c92e2eff57143f27b6c78990651c.zip |
use SYSCTLDEVICE without . (#667211, <notting@redhat.com>)
Diffstat (limited to 'sysconfig/network-scripts/ifup-ipv6')
-rwxr-xr-x | sysconfig/network-scripts/ifup-ipv6 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sysconfig/network-scripts/ifup-ipv6 b/sysconfig/network-scripts/ifup-ipv6 index 29ba8af2..da1062ec 100755 --- a/sysconfig/network-scripts/ifup-ipv6 +++ b/sysconfig/network-scripts/ifup-ipv6 @@ -124,9 +124,9 @@ else ipv6_local_auto=0 fi fi -/sbin/sysctl -e -w net.ipv6.conf.$DEVICE.forwarding=$ipv6_local_forwarding >/dev/null 2>&1 -/sbin/sysctl -e -w net.ipv6.conf.$DEVICE.accept_ra=$ipv6_local_auto >/dev/null 2>&1 -/sbin/sysctl -e -w net.ipv6.conf.$DEVICE.accept_redirects=$ipv6_local_auto >/dev/null 2>&1 +/sbin/sysctl -e -w net.ipv6.conf.$SYSCTLDEVICE.forwarding=$ipv6_local_forwarding >/dev/null 2>&1 +/sbin/sysctl -e -w net.ipv6.conf.$SYSCTLDEVICE.accept_ra=$ipv6_local_auto >/dev/null 2>&1 +/sbin/sysctl -e -w net.ipv6.conf.$SYSCTLDEVICE.accept_redirects=$ipv6_local_auto >/dev/null 2>&1 # Set IPv6 MTU, if given if [ -n "$IPV6_MTU" ]; then @@ -142,7 +142,7 @@ fi # Enable IPv6 RFC3041 privacy extensions if desired if [ "$IPV6_PRIVACY" = "rfc3041" ]; then - /sbin/sysctl -e -w net.ipv6.conf.$DEVICE.use_tempaddr=2 >/dev/null 2>&1 + /sbin/sysctl -e -w net.ipv6.conf.$SYSCTLDEVICE.use_tempaddr=2 >/dev/null 2>&1 if [ $? -ne 0 ]; then echo $"Cannot enable IPv6 privacy method '$IPV6_PRIVACY', not supported by kernel" fi |