diff --git a/src/freedombone-utils-final b/src/freedombone-utils-final index c8905b72..f4a8bee1 100755 --- a/src/freedombone-utils-final +++ b/src/freedombone-utils-final @@ -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 {