diff options
Diffstat (limited to 'sysconfig/network-scripts/ifup')
-rwxr-xr-x | sysconfig/network-scripts/ifup | 6 |
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." |