Skip to content
Snippets Groups Projects
Commit 89e2c97a authored by Bob Mottram's avatar Bob Mottram
Browse files

Add onion domain to hosts

parent 0241abd5
No related branches found
No related tags found
No related merge requests found
......@@ -134,8 +134,11 @@ function final_set_onion_hostname {
exit 368365
fi
onion_domain=$(cat /var/lib/tor/hidden_service_email/hostname)
echo "$onion_domain" > /etc/hostname
hostname "$onion_domain"
echo "127.0.1.1 $onion_domain" >> /etc/hosts
}
function setup_final {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment