summaryrefslogtreecommitdiff
path: root/util/unmount_filesystems.sh
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2019-12-22 15:20:25 +0100
committerxengineering <mail2xengineering@protonmail.com>2019-12-22 15:20:25 +0100
commitb26983b4e967957f5ecc32d75663a723f97c2588 (patch)
tree2d22243e42ccd8c13696a9aae50d62a5911d90e2 /util/unmount_filesystems.sh
parent36bb8d372ab57d68dae365619bf20cf89a612021 (diff)
downloadarchinstall-b26983b4e967957f5ecc32d75663a723f97c2588.tar
archinstall-b26983b4e967957f5ecc32d75663a723f97c2588.tar.zst
archinstall-b26983b4e967957f5ecc32d75663a723f97c2588.zip
Reimplemented some modules for luks encryption.
Diffstat (limited to 'util/unmount_filesystems.sh')
-rw-r--r--util/unmount_filesystems.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/util/unmount_filesystems.sh b/util/unmount_filesystems.sh
index 770a5e7..6ccce3b 100644
--- a/util/unmount_filesystems.sh
+++ b/util/unmount_filesystems.sh
@@ -18,9 +18,12 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
-root_partition_path=$1 # e.g. /dev/sda2
+boot_partition_path=$1
+root_partition_path=$2
-cd /root && umount $root_partition_path
+cd /root
+umount $boot_partition_path
+umount $root_partition_path
echo "Unmounted filesystems - OK"