From 1e2c88215a02e3f23d7b9ea1d8f8fcac84186118 Mon Sep 17 00:00:00 2001 From: Warren Baker Date: Mon, 28 Apr 2014 22:16:22 +0200 Subject: Also reconfigure Unbound here --- usr/local/www/system.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usr/local/www/system.php b/usr/local/www/system.php index a5e2b17..f907de9 100644 --- a/usr/local/www/system.php +++ b/usr/local/www/system.php @@ -260,7 +260,10 @@ if ($_POST) { $retval = system_hostname_configure(); $retval |= system_hosts_generate(); $retval |= system_resolvconf_generate(); - $retval |= services_dnsmasq_configure(); + if (isset($config['dnsmasq']['enable'])) + $retval |= services_dnsmasq_configure(); + elseif (isset($config['unbound']['enable'])) + $retval |= services_unbound_configure(); $retval |= system_timezone_configure(); $retval |= system_ntp_configure(); -- cgit v1.1