diff options
author | Bill Nottingham <notting@redhat.com> | 2010-11-16 16:16:57 -0500 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-11-16 16:18:45 -0500 |
commit | 5927b59ae10aed8801c4a8360a3a50171e987dad (patch) | |
tree | 30c916eb271cded11c00a50985a2c94ae0ce1585 | |
parent | 9634e72e91cc108ac57ef8b1b3ce0c7082835d75 (diff) | |
download | initscripts-5927b59ae10aed8801c4a8360a3a50171e987dad.tar initscripts-5927b59ae10aed8801c4a8360a3a50171e987dad.tar.gz initscripts-5927b59ae10aed8801c4a8360a3a50171e987dad.tar.bz2 initscripts-5927b59ae10aed8801c4a8360a3a50171e987dad.tar.xz initscripts-5927b59ae10aed8801c4a8360a3a50171e987dad.zip |
Don't accidentally cause sit module to be loaded on shutdown. (#654098, <ejsheldrake@gmail.com>)
-rwxr-xr-x | sysconfig/network-scripts/init.ipv6-global | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/init.ipv6-global b/sysconfig/network-scripts/init.ipv6-global index 0627dfae..a4eed208 100755 --- a/sysconfig/network-scripts/init.ipv6-global +++ b/sysconfig/network-scripts/init.ipv6-global @@ -144,7 +144,9 @@ case $ACTION in ipv6_cleanup_tunnel_devices # Shut down generic tunnel interface now - /sbin/ip link set sit0 down + if ipv6_test_device_status sit0 ; then + /sbin/ip link set sit0 down + fi ;; *) |