Add onion domain to hosts
This commit is contained in:
parent
0241abd55b
commit
89e2c97a28
|
@ -134,8 +134,11 @@ function final_set_onion_hostname {
|
||||||
exit 368365
|
exit 368365
|
||||||
fi
|
fi
|
||||||
onion_domain=$(cat /var/lib/tor/hidden_service_email/hostname)
|
onion_domain=$(cat /var/lib/tor/hidden_service_email/hostname)
|
||||||
|
|
||||||
echo "$onion_domain" > /etc/hostname
|
echo "$onion_domain" > /etc/hostname
|
||||||
hostname "$onion_domain"
|
hostname "$onion_domain"
|
||||||
|
|
||||||
|
echo "127.0.1.1 $onion_domain" >> /etc/hosts
|
||||||
}
|
}
|
||||||
|
|
||||||
function setup_final {
|
function setup_final {
|
||||||
|
|
Loading…
Reference in New Issue