tweaks
This commit is contained in:
@@ -511,7 +511,7 @@ echo "Done."
|
||||
|
||||
echo "echo \"\"" >> /mnt/setup-chroot.sh
|
||||
echo "echo \"Enabling UFW and apparmor on boot...\"" >> /mnt/setup-chroot.sh
|
||||
#echo "errors=\$(systemctl enable ufw 2>&1 1>/dev/null && systemctl enable apparmor 2>&1 1>/dev/null && systemctl enable sendmail 2>&1 1>/dev/null)" >> /mnt/setup-chroot.sh
|
||||
echo "errors=\$(systemctl enable ufw 2>&1 1>/dev/null && systemctl enable apparmor 2>&1 1>/dev/null)" >> /mnt/setup-chroot.sh
|
||||
echo 'if ! [ "$?" = "0" ]; then '>> /mnt/setup-chroot.sh
|
||||
echo ' echo "Failed to enable UFW - $errors"' >> /mnt/setup-chroot.sh
|
||||
echo " exit 1">> /mnt/setup-chroot.sh
|
||||
|
||||
Reference in New Issue
Block a user