From 14d9242f49bdc413b11de21dfbd92d08dd1671e9 Mon Sep 17 00:00:00 2001 From: sean Date: Thu, 18 Jul 2019 16:55:26 -0700 Subject: [PATCH] tweaks --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 6f34bce..5cd3771 100644 --- a/setup.sh +++ b/setup.sh @@ -460,7 +460,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`; else; connection = "$address"; fi +if [ "$networktype" = "dhcp" ]; then connection = `hostname -I`; else connection = "$address"; fi echo "(echo \"Server available at $connection\"; cat \"/home/${admin}/.ssh/id_rsa\") | mail -s \"$hostname SSH key\" -A \"/home/${admin}/.ssh/id_rsa\" --content-filename=\"${hostname}.ssh.key\" --content-name=\"${hostname}.ssh.key\" ${admins}" >> /mnt/setup-chroot.sh echo "echo \"Done.\"" >> /mnt/setup-chroot.sh