diff options
author | Warren Baker <warren@decoy.co.za> | 2014-04-28 22:16:22 +0200 |
---|---|---|
committer | Warren Baker <warren@decoy.co.za> | 2014-04-28 22:16:22 +0200 |
commit | 1e2c88215a02e3f23d7b9ea1d8f8fcac84186118 (patch) | |
tree | 2f8a396d259396dc87c973cf0d687a2617a90fef /usr | |
parent | 9c54ed898b0a31ca5aa9107d0b8ee43e5fde748d (diff) | |
download | pfsense-1e2c88215a02e3f23d7b9ea1d8f8fcac84186118.zip pfsense-1e2c88215a02e3f23d7b9ea1d8f8fcac84186118.tar.gz |
Also reconfigure Unbound here
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/system.php | 5 |
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(); |