cmd=./tool/mkexfatfs_32
fi
- chmod +x ./tool/*
+ if [ -d ./tool/ ]; then
+ chmod +x -R ./tool/
+ fi
# DiskSize > 32GB Cluster Size use 128KB
# DiskSize < 32GB Cluster Size use 32KB
$cmd -n ventoy -s $cluster_sectors ${DISK}1
- chmod +x ./tool/vtoy_gen_uuid
-
vtinfo "writing data to disk ..."
dd status=none conv=fsync if=./boot/boot.img of=$DISK bs=1 count=446