aboutsummaryrefslogtreecommitdiff
path: root/scripts/bootusb
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/bootusb')
-rwxr-xr-xscripts/bootusb2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bootusb b/scripts/bootusb
index 7f80501..68e5f44 100755
--- a/scripts/bootusb
+++ b/scripts/bootusb
@@ -39,6 +39,6 @@ fi
echo Writing $FILESIZE Bytes to $2
-dd if=$1 | pv --size $FILESIZE | sudo dd of=$2
+dd iflag=direct if=$1 2>/dev/null | pv --size $FILESIZE | sudo dd oflag=direct of=$2 2>/dev/null
exit 0