diff options
author | Bill Nottingham <notting@redhat.com> | 2000-03-20 16:19:59 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2000-03-20 16:19:59 +0000 |
commit | dae9762ca5510a00fd2217c2e8263b364db85929 (patch) | |
tree | 7554eca16798c71a9574cc9763c3cb0fd087399f /sysconfig/network-scripts/ifup | |
parent | f46ccc3e3e2a55c2fc61a250396535ed1dccdf60 (diff) | |
download | initscripts-dae9762ca5510a00fd2217c2e8263b364db85929.tar initscripts-dae9762ca5510a00fd2217c2e8263b364db85929.tar.gz initscripts-dae9762ca5510a00fd2217c2e8263b364db85929.tar.bz2 initscripts-dae9762ca5510a00fd2217c2e8263b364db85929.tar.xz initscripts-dae9762ca5510a00fd2217c2e8263b364db85929.zip |
honor NEEDHOSTNAME flag for pump as well
Diffstat (limited to 'sysconfig/network-scripts/ifup')
-rwxr-xr-x | sysconfig/network-scripts/ifup | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index 6b1262c7..0089642c 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -88,6 +88,9 @@ if [ -n "$PUMP" ]; then if [ -n "$DHCP_HOSTNAME" ]; then PUMPARGS="-h $DHCP_HOSTNAME" fi + if [ -n "$NEEDHOSTNAME" ]; then + PUMPARGS="$PUMPARGS --lookup-hostname" + fi echo -n "Determining IP information for $DEVICE..." if /sbin/pump $PUMPARGS -i $DEVICE ; then echo " done." |