aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-eth
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-04-15 16:24:26 +0000
committerBill Nottingham <notting@redhat.com>2005-04-15 16:24:26 +0000
commit1c3d4f9191484c0c65d5a3854e29dd72fb7e4117 (patch)
treebac0d84a58948d154d70f7a334faf5706d539fa0 /sysconfig/network-scripts/ifup-eth
parent761f40d8e5576ab8b0c42776866d1b10f21ddaf5 (diff)
downloadinitscripts-1c3d4f9191484c0c65d5a3854e29dd72fb7e4117.tar
initscripts-1c3d4f9191484c0c65d5a3854e29dd72fb7e4117.tar.gz
initscripts-1c3d4f9191484c0c65d5a3854e29dd72fb7e4117.tar.bz2
initscripts-1c3d4f9191484c0c65d5a3854e29dd72fb7e4117.tar.xz
initscripts-1c3d4f9191484c0c65d5a3854e29dd72fb7e4117.zip
more pump/dhcpcd removal
Diffstat (limited to 'sysconfig/network-scripts/ifup-eth')
-rwxr-xr-xsysconfig/network-scripts/ifup-eth14
1 files changed, 0 insertions, 14 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth
index 5bbdb713..f436b5b8 100755
--- a/sysconfig/network-scripts/ifup-eth
+++ b/sysconfig/network-scripts/ifup-eth
@@ -136,8 +136,6 @@ if [ -w /etc/dhclient-${DEVICE}.conf ] && [ -x /sbin/dhclient ] ; then
fi
if [ -n "${DYNCONFIG}" ]; then
- PUMPARGS=$PUMPARGS
- DHCPCDARGS="$DHCPCDARGS -n"
if [[ "${PERSISTENT_DHCLIENT}" = [yY1]* ]]; then
ONESHOT="";
else
@@ -145,8 +143,6 @@ if [ -n "${DYNCONFIG}" ]; then
fi;
if [ -n "${DHCP_HOSTNAME}" ]; then
# Send a host-name to the DHCP server (requ. by some dhcp servers).
- PUMPARGS="${PUMPARGS} -h ${DHCP_HOSTNAME}"
- DHCPCDARGS="${DHCPCDARGS} -h ${DHCP_HOSTNAME}"
if [ -x /sbin/dhclient ] ; then
if [ -w /etc/dhclient-${DEVICE}.conf ] ; then
if ! LC_ALL=C grep "send *host-name *\"${DHCP_HOSTNAME}\"" /etc/dhclient-${DEVICE}.conf > /dev/null 2>&1 ; then
@@ -165,16 +161,6 @@ if [ -n "${DYNCONFIG}" ]; then
DHCLIENTCONF='';
fi;
DHCLIENTARGS="${DHCLIENTARGS} ${ONESHOT} -q ${DHCLIENTCONF} -lf /var/lib/dhcp/dhclient-${DEVICE}.leases -pf /var/run/dhclient-${DEVICE}.pid"
- if need_hostname; then
- # Set hostname of host to host-name option supplied by DHCP.
- PUMPARGS="${PUMPARGS} --lookup-hostname"
- DHCPCDARGS="${DHCPCDARGS} -H"
- fi
- if [ "${PEERDNS}" = "no" ]; then
- # Do not update/replace resolv.conf.
- PUMPARGS="${PUMPARGS} -d"
- DHCPCDARGS="${DHCPCDARGS} -R"
- fi
echo
echo -n $"Determining IP information for ${DEVICE}..."
if check_link_down ${DEVICE}; then