diff options
author | Trond Eivind Glomsrod <teg@redhat.com> | 2001-06-28 22:02:18 +0000 |
---|---|---|
committer | Trond Eivind Glomsrod <teg@redhat.com> | 2001-06-28 22:02:18 +0000 |
commit | fa0139bca540e231451d2d6ac637692a7204fc1a (patch) | |
tree | 943a067ca546459ba5619ccba8d1bdb3d64cfc08 /sysconfig/network-scripts/ifup | |
parent | 7deea001bfb86a72a5fb29e159d1dff28134269f (diff) | |
download | initscripts-fa0139bca540e231451d2d6ac637692a7204fc1a.tar initscripts-fa0139bca540e231451d2d6ac637692a7204fc1a.tar.gz initscripts-fa0139bca540e231451d2d6ac637692a7204fc1a.tar.bz2 initscripts-fa0139bca540e231451d2d6ac637692a7204fc1a.tar.xz initscripts-fa0139bca540e231451d2d6ac637692a7204fc1a.zip |
Use dhcpcd first, pump second
Diffstat (limited to 'sysconfig/network-scripts/ifup')
-rwxr-xr-x | sysconfig/network-scripts/ifup | 4 |
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." |