From b0fc29124bb1754b43de00de1a7296821b8ad51b Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 28 Jun 2001 22:05:20 +0000 Subject: switch order in ifdown too --- sysconfig/network-scripts/ifdown | 8 ++++---- 1 file 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 -- cgit v1.2.1