Auto-disable Private DNS mode during installation

This commit is contained in:
quindecim 2022-11-04 00:06:03 +01:00
parent 7fc9c1c9d3
commit d58f829553
2 changed files with 7 additions and 0 deletions

View File

@ -1,6 +1,9 @@
# Changelog # Changelog
## unreleased ## unreleased
### Added
- Script in `customize.sh` file for automatically disable Private DNS feature.
### Removed ### Removed
- `sgp-dn53` resolver (unresponsive). - `sgp-dn53` resolver (unresponsive).

View File

@ -58,6 +58,10 @@ ui_print "* Setting up the right permissions to the dnscrypt-proxy binary file."
set_perm_recursive $MODPATH 0 0 0755 0755 set_perm_recursive $MODPATH 0 0 0755 0755
set_perm $MODPATH/system/bin/dnscrypt-proxy 0 0 0755 set_perm $MODPATH/system/bin/dnscrypt-proxy 0 0 0755
# Set Private DNS mode off
ui_print "* Disabling Private DNS mode."
settings put global private_dns_mode off
# Cleanup unneeded binary files # Cleanup unneeded binary files
ui_print "* Cleaning up the unnecessary files." ui_print "* Cleaning up the unnecessary files."
rm -r $MODPATH/binary rm -r $MODPATH/binary