View | Details | Raw Unified | Return to bug 389668
Collapse All | Expand All

(-)dhclient-script (-1 / +3 lines)
Lines 326-332 Link Here
326
            hostname $new_host_name
326
            hostname $new_host_name
327
          else
327
          else
328
            if [ -x /usr/bin/host ] ; then
328
            if [ -x /usr/bin/host ] ; then
329
              hostname `host "$new_ip_address" | sed 's:^.* ::; s:\..*::'`
329
              if out=`host -W 2 "$new_ip_address" 2>/dev/null` ; then
330
                hostname `echo "$out" | sed 's:^.* ::; s:\..*::'`
331
              fi
330
            fi
332
            fi
331
          fi
333
          fi
332
334

Return to bug 389668