Commit 4cb9134e authored by longpanda's avatar longpanda
Browse files

add mod

parent faceaf42
...@@ -222,7 +222,9 @@ if [ "$MODE" = "install" ]; then ...@@ -222,7 +222,9 @@ if [ "$MODE" = "install" ]; then
cmd=./tool/mkexfatfs_32 cmd=./tool/mkexfatfs_32
fi fi
chmod +x ./tool/* if [ -d ./tool/ ]; then
chmod +x -R ./tool/
fi
# DiskSize > 32GB Cluster Size use 128KB # DiskSize > 32GB Cluster Size use 128KB
# DiskSize < 32GB Cluster Size use 32KB # DiskSize < 32GB Cluster Size use 32KB
...@@ -234,8 +236,6 @@ if [ "$MODE" = "install" ]; then ...@@ -234,8 +236,6 @@ if [ "$MODE" = "install" ]; then
$cmd -n ventoy -s $cluster_sectors ${DISK}1 $cmd -n ventoy -s $cluster_sectors ${DISK}1
chmod +x ./tool/vtoy_gen_uuid
vtinfo "writing data to disk ..." vtinfo "writing data to disk ..."
dd status=none conv=fsync if=./boot/boot.img of=$DISK bs=1 count=446 dd status=none conv=fsync if=./boot/boot.img of=$DISK bs=1 count=446
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment