summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/system.php')
-rw-r--r--usr/local/www/system.php5
1 files changed, 4 insertions, 1 deletions
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();
OpenPOWER on IntegriCloud