Searched refs:resolv_conf (Results 1 – 5 of 5) sorted by relevance
96 : ${resolv_conf:=/etc/resolv.conf}209 if [ -e "$resolv_conf" ]; then210 [ "$(cat "$resolv_conf")" = "$(printf %s "$newconf")" ] && exit 0218 if [ -e "$resolv_conf.bak" ]; then219 newconf="$(cat "$resolv_conf.bak")$NL"221 elif [ -e "$resolv_conf" ]; then222 read line <"$resolv_conf"224 cp "$resolv_conf" "$resolv_conf.bak"230 (umask 022; echo "$newconf" >"$resolv_conf")
4 resolv_conf=/etc/resolv.conf
48 resolv_conf=""89 : ${resolv_conf:=/etc/resolv.conf}380 resolv_conf="$OPTARG"413 if [ -f "${D}${resolv_conf}" ] ; then414 echo "Extracting forwarders from ${resolv_conf}."415 forwarders=$(get_nameservers <"${D}${resolv_conf}")492 local tmp_resolv_conf=$(tmp "${resolv_conf}")493 gen_resolv_conf <"${D}${resolv_conf}" | unexpand >"${tmp_resolv_conf}"494 replace "${resolv_conf}" "${tmp_resolv_conf}"
158 const char *resolv_conf; in main() member180 case 'c': o.resolv_conf = optarg; break; in main()218 if (o.resolv_conf == NULL && !o.ns) in main()226 DNS_OPTION_NAMESERVERS, o.resolv_conf); in main()