diff options
author | Bill Nottingham <notting@redhat.com> | 2005-04-15 16:24:26 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2005-04-15 16:24:26 +0000 |
commit | 1c3d4f9191484c0c65d5a3854e29dd72fb7e4117 (patch) | |
tree | bac0d84a58948d154d70f7a334faf5706d539fa0 | |
parent | 761f40d8e5576ab8b0c42776866d1b10f21ddaf5 (diff) | |
download | initscripts-1c3d4f9191484c0c65d5a3854e29dd72fb7e4117.tar initscripts-1c3d4f9191484c0c65d5a3854e29dd72fb7e4117.tar.gz initscripts-1c3d4f9191484c0c65d5a3854e29dd72fb7e4117.tar.bz2 initscripts-1c3d4f9191484c0c65d5a3854e29dd72fb7e4117.tar.xz initscripts-1c3d4f9191484c0c65d5a3854e29dd72fb7e4117.zip |
more pump/dhcpcd removal
-rw-r--r-- | sysconfig.txt | 2 | ||||
-rwxr-xr-x | sysconfig/network-scripts/ifup-eth | 14 |
2 files changed, 1 insertions, 15 deletions
diff --git a/sysconfig.txt b/sysconfig.txt index 09b99ab2..aebc179b 100644 --- a/sysconfig.txt +++ b/sysconfig.txt @@ -537,7 +537,7 @@ Files in /etc/sysconfig/network-scripts/ Default window for routes from this device PEERDNS=yes|no modify /etc/resolv.conf if peer uses msdns extension (PPP only) or - DNS{1,2} are set, or if using pump or dhcpcd. default to "yes". + DNS{1,2} are set, or if using dhclient. default to "yes". DNS{1,2}=<ipaddress> provide DNS addresses that are dropped into the resolv.conf file if PEERDNS is not set to "no". 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 |