diff options
author | Bill Nottingham <notting@redhat.com> | 2001-06-28 22:05:20 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-06-28 22:05:20 +0000 |
commit | b0fc29124bb1754b43de00de1a7296821b8ad51b (patch) | |
tree | dc6bf5b9b6bb4d9957875fe3612419118ea488d7 /sysconfig/network-scripts | |
parent | fa0139bca540e231451d2d6ac637692a7204fc1a (diff) | |
download | initscripts-b0fc29124bb1754b43de00de1a7296821b8ad51b.tar initscripts-b0fc29124bb1754b43de00de1a7296821b8ad51b.tar.gz initscripts-b0fc29124bb1754b43de00de1a7296821b8ad51b.tar.bz2 initscripts-b0fc29124bb1754b43de00de1a7296821b8ad51b.tar.xz initscripts-b0fc29124bb1754b43de00de1a7296821b8ad51b.zip |
switch order in ifdown too
Diffstat (limited to 'sysconfig/network-scripts')
-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 |