aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-xsysconfig/network-scripts/ifup6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index 1fda5633..64309d5b 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -82,8 +82,12 @@ if [ -n "$MACADDR" ]; then
fi
if [ -n "$PUMP" ]; then
+ PUMPARGS=
+ if [ -n "$DHCP_HOSTNAME" ]; then
+ PUMPARGS="-h $DHCP_HOSTNAME"
+ fi
echo -n "Determining IP information for $DEVICE..."
- if /sbin/pump -i $DEVICE ; then
+ if /sbin/pump $PUMPARGS -i $DEVICE ; then
echo " done."
else
echo " failed."