summaryrefslogtreecommitdiff
path: root/util/mount_filesystems.sh
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2020-01-12 17:40:15 +0100
committerxengineering <mail2xengineering@protonmail.com>2020-01-12 17:40:15 +0100
commit2f6a6e43c47a345ca72028177cea92e7307cebff (patch)
treedf794f83727366257c892a2c47bca472e6b90702 /util/mount_filesystems.sh
parentb71ec259f10635f1fb907caa8076bbc2710adf02 (diff)
downloadarchinstall-2f6a6e43c47a345ca72028177cea92e7307cebff.tar
archinstall-2f6a6e43c47a345ca72028177cea92e7307cebff.tar.zst
archinstall-2f6a6e43c47a345ca72028177cea92e7307cebff.zip
First version of BIOS boot.
Diffstat (limited to 'util/mount_filesystems.sh')
-rw-r--r--util/mount_filesystems.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/util/mount_filesystems.sh b/util/mount_filesystems.sh
index f24421b..75bbb14 100644
--- a/util/mount_filesystems.sh
+++ b/util/mount_filesystems.sh
@@ -23,7 +23,10 @@ root_partition_path=$2
mount $root_partition_path /mnt
-mkdir /mnt/boot
-mount $boot_partition_path /mnt/boot
+
+if [ "$boot_partition_path" != "/dev/null" ];then
+ mkdir /mnt/boot
+ mount $boot_partition_path /mnt/boot
+fi
echo "Mounted filesystems - OK"