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