aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-01-25 06:47:34 +0000
committerBill Nottingham <notting@redhat.com>2002-01-25 06:47:34 +0000
commit43c034964d0f8dadc51c33f18313af50d771448b (patch)
tree0eb516657ed6b188dba7c36fe4f3c3918e2ae530
parente36d9412da6cf1d19c213044da643db7c41d436f (diff)
downloadinitscripts-43c034964d0f8dadc51c33f18313af50d771448b.tar
initscripts-43c034964d0f8dadc51c33f18313af50d771448b.tar.gz
initscripts-43c034964d0f8dadc51c33f18313af50d771448b.tar.bz2
initscripts-43c034964d0f8dadc51c33f18313af50d771448b.tar.xz
initscripts-43c034964d0f8dadc51c33f18313af50d771448b.zip
don't blowaway pumpargs/dhcpcdargs if they pass in a hostname (#57927, <Olivier.Baudron@ens.fr>)
-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 51a07819..012f982e 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -146,8 +146,8 @@ if [ -n "${DYNCONFIG}" ]; then
PUMPARGS=$PUMPARGS
DHCPCDARGS="$DHCPCDARGS -n"
if [ -n "${DHCP_HOSTNAME}" ]; then
- PUMPARGS="-h ${DHCP_HOSTNAME}"
- DHCPCDARGS="-h ${DHCP_HOSTNAME}"
+ PUMPARGS="${PUMPARGS} -h ${DHCP_HOSTNAME}"
+ DHCPCDARGS="${DHCPCDARGS} -h ${DHCP_HOSTNAME}"
fi
if need_hostname; then
PUMPARGS="${PUMPARGS} --lookup-hostname"