aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig')
-rwxr-xr-xsysconfig/network-scripts/ifdown-eth4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifdown-eth b/sysconfig/network-scripts/ifdown-eth
index 932dd882..97b17aaf 100755
--- a/sysconfig/network-scripts/ifdown-eth
+++ b/sysconfig/network-scripts/ifdown-eth
@@ -86,7 +86,7 @@ fi
/etc/sysconfig/network-scripts/ifdown-ipv6 ${CONFIG}
retcode=0
-[ -n "$(pidof -x dhclient)" ] && {
+
for VER in "" 6 ; do
if [ -f "/run/dhclient$VER-${DEVICE}.pid" ]; then
dhcpid=$(cat /run/dhclient$VER-${DEVICE}.pid)
@@ -105,7 +105,7 @@ for VER in "" 6 ; do
fi
fi
done
-}
+
# we can't just delete the configured address because that address
# may have been changed in the config file since the device was
# brought up. Flush all addresses associated with this