ADD EDIT + TOOLS
This commit is contained in:
@@ -38,11 +38,11 @@ fi
|
||||
|
||||
# Execute the dd command
|
||||
echo "Writing '$1' to '$2'..."
|
||||
time sudo dd bs=4M status=progress conv=fsync oflag=direct if="$1" of="/dev/$2"
|
||||
time sudo dd bs=8M status=progress conv=fsync oflag=direct if="$1" of="/dev/$2"
|
||||
|
||||
# Check the exit code of the dd command
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "Write complete."
|
||||
echo "ISO to USB Write complete."
|
||||
else
|
||||
echo "Write failed. Check for errors."
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user