summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall-artix.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/install-artix.sh b/install-artix.sh
index f53c9ec..cf55ff9 100755
--- a/install-artix.sh
+++ b/install-artix.sh
@@ -308,6 +308,9 @@ pac_options=ILoveCandy
sed "s/# Misc options/# Misc options\n${pac_options}/g" \
-i /mnt/etc/pacman.conf
+# Enable firewall
+sed "s/ENABLED=no/ENABLED=yes/" -i /mnt/etc/ufw/ufw.conf
+
# Set MAKEFLAGS to match CPU threads for faster compiling
cp /etc/makepkg.conf /etc/makepkg.conf.bak
sed "s/#MAKEFLAGS=\".*\"/MAKEFLAGS=\"-j$(nproc)\"/" \
@@ -409,10 +412,10 @@ if [[ "${enable_aur}" == true ]]; then
echo "AUR helper installation complete!"
fi
-# # FINISH
-# swapoff -a
-# umount -R /mnt
-# [[ "${encrypt}" == true ]] && cryptsetup close root
+# FINISH
+swapoff -a
+umount -R /mnt
+[[ "${encrypt}" == true ]] && cryptsetup close root
set +x
echo "