aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2020-12-13 18:08:39 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2020-12-13 18:08:39 +0100
commit93935e289bf5a95fb7c1fcc1b3ad89d1768f4ca0 (patch)
tree074fa3a5fb4647e10ee7d22683af0c27435ee377 /scripts
parent83cb7e80dbff8c64736dbfa921aa3f4a4fa2965f (diff)
downloaddotfiles-93935e289bf5a95fb7c1fcc1b3ad89d1768f4ca0.tar.gz
bootusb no cache
Diffstat (limited to 'scripts')
-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