From cadf53b85ce7142b71a76876cd51322d70800c07 Mon Sep 17 00:00:00 2001 From: sean Date: Wed, 10 Jul 2019 16:43:47 -0700 Subject: [PATCH] tweaks --- setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 6b13682..e9a0e0f 100644 --- a/setup.sh +++ b/setup.sh @@ -336,7 +336,8 @@ echo "echo \"rpool/tmp /tmp zfs nodev,relatime 0 0\" >> /etc/fstab" >> /mnt/setu echo 'echo ""' >> /mnt/setup-chroot.sh echo 'echo "Enabling SSH..."'>> /mnt/setup-chroot.sh -echo "errors=\$(systemctl enable ssh 2>&1 1>/dev/null && ufw allow in on any from any to any port 22 proto tcp 2>&1 1>/dev/null)">> /mnt/setup-chroot.sh +echo "errors=\$(systemctl enable ssh 2>&1 1>/dev/null)">> /mnt/setup-chroot.sh +#&& ufw allow in on any from any to any port 22 proto tcp 2>&1 1>/dev/null echo 'if ! [ "$?" = "0" ]; then '>> /mnt/setup-chroot.sh echo ' echo "Failed to enable SSH - $errors"' >> /mnt/setup-chroot.sh echo " exit 101">> /mnt/setup-chroot.sh