Auto-disable Private DNS mode during installation
This commit is contained in:
parent
7fc9c1c9d3
commit
d58f829553
|
@ -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).
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue