automatically creating dir

This commit is contained in:
Jakub Bidžan 2025-03-16 15:39:58 +01:00
parent b3e0800de5
commit edfbab37fc

View file

@ -21,6 +21,7 @@ RED="\e[31m"
YELLOW="\e[33m"
ENDCOLOR="\e[0m"
mkdir $mntpoint &> /dev/null
if $doso mount -U $sd_uuid $mntpoint; then
echo -e "[✅]$GREEN Mounted SD successfully$ENDCOLOR"
else echo -e "[❌] $RED Failed to mount SD$ENDCOLOR" && exit 1;