Commit 9ddab2ac authored by amnesia's avatar amnesia
Browse files

Replace slow or weird HTP servers.

parent 43cb3dcf
......@@ -37,8 +37,8 @@ HTPDATE_LOG=/var/log/htpdate.log
declare -a HTP_POOL
HTP_POOL=(
'www.torproject.org'
'www.eff.org'
'mail.google.com'
'mail.riseup.net'
'www.google.com'
'secure.wikimedia.org'
)
......@@ -56,7 +56,7 @@ echo "Will use these nameservers: ${NAME_SERVERS}" >>$LOG
cleanup_etc_hosts() {
echo "Cleaning /etc/hosts" >>$LOG
local tempfile
tempfile=`mktemp --tmpdir=/tmp nm-htp.XXXXXXXX`
tempfile=`mktemp -t nm-htp.XXXXXXXX`
echo "tempfile: ${tempfile}" >>$LOG
where=outside
cat /etc/hosts | while read line ; do
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment