Fix block size of kernel blank-er
This commit is contained in:
parent
c9c1dce1f1
commit
49c020954f
@ -30,7 +30,7 @@ echo
|
|||||||
if [[ $REPLY =~ ^[Yy]$ ]]
|
if [[ $REPLY =~ ^[Yy]$ ]]
|
||||||
then
|
then
|
||||||
echo Writing kernel partition
|
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
|
dd if="$BOOT_DEVICE"1 of=/dev/mmcblk2p1
|
||||||
echo You can now reboot
|
echo You can now reboot
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user