Fix block size of kernel blank-er

This commit is contained in:
SolidHal 2019-10-15 08:19:21 -07:00 committed by GitHub
parent c9c1dce1f1
commit 49c020954f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ echo
if [[ $REPLY =~ ^[Yy]$ ]]
then
echo Writing kernel partition
dd if=/dev/zero of=/dev/mmcblk2p1 bs=1 count=65536
dd if=/dev/zero of=/dev/mmcblk2p1 bs=512 count=65536
dd if="$BOOT_DEVICE"1 of=/dev/mmcblk2p1
echo You can now reboot
fi