summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall-artix.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/install-artix.sh b/install-artix.sh
index 480411e..2ca8925 100755
--- a/install-artix.sh
+++ b/install-artix.sh
@@ -159,6 +159,9 @@ if [[ $encrypt == true ]]; then
# Open encrypted drive
echo "${password}" | cryptsetup luksOpen ${root} Artix
+
+ # Change root to mapper
+ root="/dev/mapper/Artix"
fi
# Make BOOT filesystem