aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown-eth
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts/ifdown-eth')
-rwxr-xr-xsysconfig/network-scripts/ifdown-eth12
1 files changed, 5 insertions, 7 deletions
diff --git a/sysconfig/network-scripts/ifdown-eth b/sysconfig/network-scripts/ifdown-eth
index c0de20e5..c987d346 100755
--- a/sysconfig/network-scripts/ifdown-eth
+++ b/sysconfig/network-scripts/ifdown-eth
@@ -60,13 +60,11 @@ if is_bonding_device ${DEVICE} ; then
fi
-if [ "${NETWORKING_IPV6}" = "yes" ]; then
- /etc/sysconfig/network-scripts/ifdown-ipv6 ${CONFIG}
- if [[ "${DHCPV6C}" = [Yy1]* ]] && [ -f /var/run/dhcp6c_${DEVICE}.pid ]; then
- kill `cat /var/run/dhcp6c_${DEVICE}.pid`;
- rm -f /var/run/dhcp6c_${DEVICE}.pid;
- fi;
-fi;
+/etc/sysconfig/network-scripts/ifdown-ipv6 ${CONFIG}
+if [[ "${DHCPV6C}" = [Yy1]* ]] && [ -f /var/run/dhcp6c_${DEVICE}.pid ]; then
+ kill `cat /var/run/dhcp6c_${DEVICE}.pid`;
+ rm -f /var/run/dhcp6c_${DEVICE}.pid;
+fi
retcode=0
[ -n "`pidof -x dhclient`" ] && {