aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-11-16 16:16:57 -0500
committerBill Nottingham <notting@redhat.com>2010-11-16 16:16:57 -0500
commitcc5b400dd6bad85f5d7b8e4a889134d3668e20a4 (patch)
tree2bdb147b62c957600bf6d35c0706f6b15d4f2e7c
parent4249af37f490c5ab40b8609929e29ff5509cab9c (diff)
downloadinitscripts-cc5b400dd6bad85f5d7b8e4a889134d3668e20a4.tar
initscripts-cc5b400dd6bad85f5d7b8e4a889134d3668e20a4.tar.gz
initscripts-cc5b400dd6bad85f5d7b8e4a889134d3668e20a4.tar.bz2
initscripts-cc5b400dd6bad85f5d7b8e4a889134d3668e20a4.tar.xz
initscripts-cc5b400dd6bad85f5d7b8e4a889134d3668e20a4.zip
Don't accidentally cause sit module to be loaded on shutdown. (#654098, <ejsheldrake@gmail.com>)systemd-branch
-rwxr-xr-xsysconfig/network-scripts/init.ipv6-global4
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
;;
*)