Lines Matching refs:cf
15 local cf="$state_dir/resolv.conf.$ifname"
51 [ -f "$cf" ] && rm -f "$cf"
53 echo "$header" > "$cf"
55 cat /etc/resolv.conf.head >> "$cf"
57 echo "# /etc/resolv.conf.head can replace this line" >> "$cf"
59 printf %s "$domain$search$servers" >> "$cf"
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
68 rm -f "$cf"