From a469c542e0e83c76228db2408037f20b5e7ca651 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 21 Jun 2012 23:06:58 +0000 Subject: [PATCH] DNS: Generate resolv.conf when starting up the network. --- functions.dns | 3 +++ 1 file changed, 3 insertions(+) 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} -- 2.47.3