Update script/image.sh

mount dir default value

Signed-off-by: Sinipelto <sinipelto@noreply.bananymous.com>
This commit is contained in:
Sinipelto 2023-11-20 13:28:53 +02:00
parent fd16d6802c
commit 01b17eaadc
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ LOOP_DEV=$(sudo losetup --show -f "$BANAN_DISK_IMAGE_PATH")
sudo partprobe $LOOP_DEV
ROOT_PARTITION=${LOOP_DEV}p2
MOUNT_DIR=/bananmnt
MOUNT_DIR="${MOUNT_DIR:-/bananmnt}"
sudo mkdir -p $MOUNT_DIR || { echo "Failed to create mount point dir."; exit 1; }