diff options
Diffstat (limited to 'sysconfig/network-scripts/ifdown')
-rwxr-xr-x | sysconfig/network-scripts/ifdown | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sysconfig/network-scripts/ifdown b/sysconfig/network-scripts/ifdown index db07e35a..c63864bb 100755 --- a/sysconfig/network-scripts/ifdown +++ b/sysconfig/network-scripts/ifdown @@ -53,14 +53,14 @@ fi retcode=0 if [ "$BOOTPROTO" = bootp -o "$BOOTPROTO" = dhcp ]; then - [ -n "`pidof -x pump`" ] && { - pump -r -i ${DEVICE} - retcode=$? - } [ -n "`pidof -x dhcpcd`" ] && { dhcpcd -k ${DEVICE} retcode=$? } + [ -n "`pidof -x pump`" ] && { + pump -r -i ${DEVICE} + retcode=$? + } fi |