aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrond Eivind Glomsrod <teg@redhat.com>2001-06-28 22:02:18 +0000
committerTrond Eivind Glomsrod <teg@redhat.com>2001-06-28 22:02:18 +0000
commitfa0139bca540e231451d2d6ac637692a7204fc1a (patch)
tree943a067ca546459ba5619ccba8d1bdb3d64cfc08
parent7deea001bfb86a72a5fb29e159d1dff28134269f (diff)
downloadinitscripts-fa0139bca540e231451d2d6ac637692a7204fc1a.tar
initscripts-fa0139bca540e231451d2d6ac637692a7204fc1a.tar.gz
initscripts-fa0139bca540e231451d2d6ac637692a7204fc1a.tar.bz2
initscripts-fa0139bca540e231451d2d6ac637692a7204fc1a.tar.xz
initscripts-fa0139bca540e231451d2d6ac637692a7204fc1a.zip
Use dhcpcd first, pump second
-rwxr-xr-xsysconfig/network-scripts/ifup4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index c41ff582..5d09bd09 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -165,9 +165,9 @@ if [ -n "${DYNCONFIG}" ]; then
FWHACK=1
fi
- if [ -x /sbin/pump ] && /sbin/pump ${PUMPARGS} -i ${DEVICE} ; then
+ if [ -x /sbin/dhcpcd ] && /sbin/dhcpcd ${DHCPCDARGS} ${DEVICE} ; then
echo $" done."
- elif [ -x /sbin/dhcpcd ] && /sbin/dhcpcd ${DHCPCDARGS} ${DEVICE} ; then
+ elif [ -x /sbin/pump ] && /sbin/pump ${PUMPARGS} -i ${DEVICE} ; then
echo $" done."
else
echo $" failed."