This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
CONFIG_DIR="/etc/dnscrypt-proxy" | |
INSTALL_DIR="/usr/local/dnscrypt-proxy" | |
LATEST_URL="https://api.github.com/repos/DNSCrypt/dnscrypt-proxy/releases/latest" | |
DNSCRYPT_PUBLIC_KEY="RWTk1xXqcTODeYttYMCMLo0YJHaFEHn7a3akqHlb/7QvIQXHVPxKbjB5" | |
PLATFORM="linux" | |
CPU_ARCH="x86_64" | |
Update() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Empty listen_addresses to use systemd socket activation | |
############################################## | |
# # | |
# dnscrypt-proxy configuration # | |
# # | |
############################################## | |
## This is an example configuration file. | |
## You should adjust it to your needs, and save it as "dnscrypt-proxy.toml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in {0..7}; do sudo cpufreq-set -g performance -c $i; done | |
# choose between ondemand, performance, powersave, conservative |