aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
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:17:42 -0500
commit7eaac898d086ea2a3dc2da549e192c5f164a5751 (patch)
treeb046abd1882c5f510f3946cc629e0ff11206ea06 /sysconfig/network-scripts
parent3a31255879036c3657d2503a40f320a94a9ee375 (diff)
downloadinitscripts-7eaac898d086ea2a3dc2da549e192c5f164a5751.tar
initscripts-7eaac898d086ea2a3dc2da549e192c5f164a5751.tar.gz
initscripts-7eaac898d086ea2a3dc2da549e192c5f164a5751.tar.bz2
initscripts-7eaac898d086ea2a3dc2da549e192c5f164a5751.tar.xz
initscripts-7eaac898d086ea2a3dc2da549e192c5f164a5751.zip
Don't accidentally cause sit module to be loaded on shutdown. (#654098, <ejsheldrake@gmail.com>)
Diffstat (limited to 'sysconfig/network-scripts')
-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
;;
*)