Make sure system_hosts_generate() is called by services_unbound_configure(). It should fix #4027

This commit is contained in:
Renato Botelho 2014-11-19 07:48:35 -02:00
parent bcd42a4e86
commit b3c6783f82

View File

@ -1895,6 +1895,10 @@ function services_unbound_configure() {
else
sleep(1);
/* generate hosts file */
if(system_hosts_generate()!=0)
$return = 1;
require_once('/etc/inc/unbound.inc');
sync_unbound_service();
if ($g['booting'])