From: Michael Tremer Date: Thu, 21 Jun 2012 23:06:58 +0000 (+0000) Subject: DNS: Generate resolv.conf when starting up the network. X-Git-Tag: 004~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a469c542e0e83c76228db2408037f20b5e7ca651;p=network.git DNS: Generate resolv.conf when starting up the network. --- diff --git a/functions.dns b/functions.dns index 85c0f3f3..39ddfad7 100644 --- a/functions.dns +++ b/functions.dns @@ -101,6 +101,9 @@ function dns_server_flush() { : > ${DNS_SERVER_CONFIG_FILE} } +# Update resolv.conf(5) when initializing the network. +init_register dns_generate_resolvconf + function dns_generate_resolvconf() { local file=${RESOLV_CONF}