Lines Matching refs:resolv
195 # XXX Old code did not create/update resolv.conf unless both
198 # thus broke the script. This code creates the resolv.conf if either
201 local tmpres=/var/run/resolv.conf.${interface}
215 if [ -f /etc/resolv.conf.tail ]; then
216 cat /etc/resolv.conf.tail >>$tmpres
219 # When resolv.conf is not changed actually, we don't
223 # ignore an error and do update resolv.conf.
224 if cmp -s $tmpres /etc/resolv.conf; then
229 # In case (e.g. during OpenBSD installs) /etc/resolv.conf
233 if [ -f /etc/resolv.conf ]; then
234 cat /etc/resolv.conf > /etc/resolv.conf.save
236 cat $tmpres > /etc/resolv.conf
240 chown -RL root:wheel /etc/resolv.conf
241 chmod -RL 644 /etc/resolv.conf
352 if [ -f /etc/resolv.conf.save ]; then
353 cat /etc/resolv.conf.save > /etc/resolv.conf