Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 208558
Collapse All | Expand All

(-)dhclient-script.old (-2 / +2 lines)
Lines 33-41 Link Here
33
        conf="${conf}nameserver $nameserver\n"
33
        conf="${conf}nameserver $nameserver\n"
34
      done
34
      done
35
      if [ -x /sbin/resolvconf ]; then
35
      if [ -x /sbin/resolvconf ]; then
36
        echo -e "$conf" | resolvconf -a "$interface"
36
        printf "$conf" | resolvconf -a "$interface"
37
      else
37
      else
38
        echo -e "$conf" > /etc/resolv.conf
38
        printf "$conf" > /etc/resolv.conf
39
        chmod 644 /etc/resolv.conf
39
        chmod 644 /etc/resolv.conf
40
      fi
40
      fi
41
    fi
41
    fi

Return to bug 208558