Lines Matching refs:conf
1 # Generate /etc/resolv.conf
3 # We can merge other dhcpcd resolv.conf files into one like resolvconf,
9 resolv_conf_dir="$state_dir/resolv.conf"
15 local cf="$state_dir/resolv.conf.$ifname"
21 # Build the resolv.conf
50 # Assemble resolv.conf using our head and tail files
54 if [ -f /etc/resolv.conf.head ]; then
55 cat /etc/resolv.conf.head >> "$cf"
57 echo "# /etc/resolv.conf.head can replace this line" >> "$cf"
60 if [ -f /etc/resolv.conf.tail ]; then
61 cat /etc/resolv.conf.tail >> "$cf"
63 echo "# /etc/resolv.conf.tail can replace this line" >> "$cf"
65 if change_file /etc/resolv.conf "$cf"; then
66 chmod 644 /etc/resolv.conf
73 local x= conf="$signature$NL" i=${ra_count:-0} ra= warn=true
105 conf="${conf}domain $1$NL"
117 conf="${conf}search $new_domain_search$NL"
124 conf="${conf}nameserver $x$NL"
128 printf %s "$conf" | resolvconf -a "$ifname"
136 printf %s "$conf" > "$resolv_conf_dir/$ifname"