Development
This commit is contained in:
parent
e2e05010bb
commit
3b2fa07ac9
1 changed files with 3 additions and 1 deletions
|
|
@ -694,8 +694,10 @@ def apply_dnsmasq_instances(data, dry_run=False, start_if_needed=True):
|
|||
if not dry_run:
|
||||
shared.DNSMASQ_CONF_DIR.mkdir(exist_ok=True)
|
||||
disable_system_dnsmasq(data)
|
||||
general = data.get("dns_blocking", {}).get("general", {})
|
||||
setup_blocklist_logging(general)
|
||||
print()
|
||||
print("Updating blocklist hosts files ======================================")
|
||||
logging.info("Updating blocklist hosts files ======================================")
|
||||
update_blocklist_hosts(data)
|
||||
print()
|
||||
disable_system_dnsmasq(data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue