Lines Matching refs:resolv
43 new_resolv_conf=/etc/resolv.conf.dhclient-new
73 … sed -n /^\w*[Nn][Aa][Mm][Ee][Ss][Ee][Rr][Vv][Ee][Rr]/p /etc/resolv.conf >>$new_resolv_conf
76 if [ -f /etc/resolv.conf ]; then
77 chown --reference=/etc/resolv.conf $new_resolv_conf
78 chmod --reference=/etc/resolv.conf $new_resolv_conf
80 mv -f $new_resolv_conf /etc/resolv.conf
83 new_resolv_conf=/etc/resolv.conf.dhclient-new
100 … sed -n /^\w*[Nn][Aa][Mm][Ee][Ss][Ee][Rr][Vv][Ee][Rr]/p /etc/resolv.conf >>$new_resolv_conf
103 if [ -f /etc/resolv.conf ]; then
104 chown --reference=/etc/resolv.conf $new_resolv_conf
105 chmod --reference=/etc/resolv.conf $new_resolv_conf
107 mv -f $new_resolv_conf /etc/resolv.conf