aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2014-12-16 14:12:36 +0100
committerLukas Nykryn <lnykryn@redhat.com>2014-12-16 14:12:36 +0100
commit7e548d51df2b8df098bc7584ad75258ac7064509 (patch)
tree002c213c9134ade8ed91b8601904007ac4603743 /sysconfig
parent2444fc5a4060e4f78059b1bff9fa37a10b6fd648 (diff)
downloadinitscripts-7e548d51df2b8df098bc7584ad75258ac7064509.tar
initscripts-7e548d51df2b8df098bc7584ad75258ac7064509.tar.gz
initscripts-7e548d51df2b8df098bc7584ad75258ac7064509.tar.bz2
initscripts-7e548d51df2b8df098bc7584ad75258ac7064509.tar.xz
initscripts-7e548d51df2b8df098bc7584ad75258ac7064509.zip
ifdown-ipv6: reset addrgenmode to eui64 for device
Diffstat (limited to 'sysconfig')
-rwxr-xr-xsysconfig/network-scripts/ifdown-ipv61
1 files changed, 1 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifdown-ipv6 b/sysconfig/network-scripts/ifdown-ipv6
index 7bfcfb34..d2207b76 100755
--- a/sysconfig/network-scripts/ifdown-ipv6
+++ b/sysconfig/network-scripts/ifdown-ipv6
@@ -66,6 +66,7 @@ fi
/sbin/sysctl -e -w net.ipv6.conf.$SYSCTLDEVICE.forwarding=0 >/dev/null 2>&1
/sbin/sysctl -e -w net.ipv6.conf.$SYSCTLDEVICE.accept_ra=0 >/dev/null 2>&1
/sbin/sysctl -e -w net.ipv6.conf.$SYSCTLDEVICE.accept_redirects=0 >/dev/null 2>&1
+/sbin/ip link set $DEVICE addrgenmode eui64 >/dev/null 2>&1
# Test status of tun6to4 device
ipv6_test_device_status tun6to4