diff options
Diffstat (limited to 'util/mount_filesystems.sh')
-rw-r--r-- | util/mount_filesystems.sh | 7 |
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" |