diff --git a/setup.sh b/setup.sh index ad892ba..48df90a 100644 --- a/setup.sh +++ b/setup.sh @@ -458,7 +458,7 @@ echo "echo \"UseSTARTTLS=YES\" >> /etc/ssmtp/ssmtp.conf" >> /mnt/setup-chroot.sh echo "echo \"\"" >> /mnt/setup-chroot.sh echo "echo \"Sending SSH key via e-mail...\"" >> /mnt/setup-chroot.sh if [ "$networktype" = "dhcp" ]; then - connection=`hostname -I` + connection="`hostname -I`/`wget -qO - ifconfig.me`" else connection="$address" fi