Development
This commit is contained in:
parent
bf4e7175cb
commit
e2e05010bb
1 changed files with 2 additions and 1 deletions
|
|
@ -86,6 +86,7 @@ Usage:
|
|||
import hashlib
|
||||
import ipaddress
|
||||
import json
|
||||
import logging
|
||||
import os
|
||||
import re
|
||||
import subprocess
|
||||
|
|
@ -923,7 +924,7 @@ def main():
|
|||
die("This script must be run as root (sudo).")
|
||||
general = data.get("dns_blocking", {}).get("general", {})
|
||||
dnsmasq.setup_blocklist_logging(general)
|
||||
print("Merging blocklists ==================================================")
|
||||
logging.info("Merging blocklists ==================================================")
|
||||
success = dnsmasq.update_blocklist_hosts(data)
|
||||
print()
|
||||
if success:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue