No root needed for a local dd command

This commit is contained in:
Natanael Arndt 2021-03-08 19:11:28 +01:00
parent c8bc26a94e
commit c48f0d58fa
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ Some commands require root permissions, you might be asked to enter your passwor
#create loop file for raw.img
if [ "$DEVICE_NODE" = raw ]; then
as_root dd if=/dev/zero of=sdcard.img bs=1 count=0 seek=4G
dd if=/dev/zero of=sdcard.img bs=1 count=0 seek=4G
DEVICE_NODE=./sdcard.img
fi