aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-06-28 22:05:20 +0000
committerBill Nottingham <notting@redhat.com>2001-06-28 22:05:20 +0000
commitb0fc29124bb1754b43de00de1a7296821b8ad51b (patch)
treedc6bf5b9b6bb4d9957875fe3612419118ea488d7 /sysconfig
parentfa0139bca540e231451d2d6ac637692a7204fc1a (diff)
downloadinitscripts-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')
-rwxr-xr-xsysconfig/network-scripts/ifdown8
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