mirror of
https://github.com/YunoHost-Apps/adguardhome_ynh.git
synced 2024-09-03 18:06:23 +02:00
the python code to kepp the port 53 is now useless as it's now hardcoded
This commit is contained in:
parent
d7bfbddc2f
commit
f57edf01d5
1 changed files with 0 additions and 4 deletions
|
@ -64,10 +64,6 @@ if \"0.0.0.0\" in conf_file[\"dns\"][\"bind_hosts\"]:
|
||||||
conf_file[\"dns\"][\"bind_hosts\"].append(\"$ipv6_addr\")
|
conf_file[\"dns\"][\"bind_hosts\"].append(\"$ipv6_addr\")
|
||||||
need_file_update = True
|
need_file_update = True
|
||||||
|
|
||||||
if conf_file[\"dns\"][\"port\"] != 53:
|
|
||||||
conf_file[\"dns\"][\"port\"] = 53
|
|
||||||
need_file_update = True
|
|
||||||
|
|
||||||
if need_file_update:
|
if need_file_update:
|
||||||
with open(\"$install_dir/AdGuardHome.yaml\", 'w') as file:
|
with open(\"$install_dir/AdGuardHome.yaml\", 'w') as file:
|
||||||
yaml.dump(conf_file, file)
|
yaml.dump(conf_file, file)
|
||||||
|
|
Loading…
Add table
Reference in a new issue