Use same block size (64k) as builder scripts.

This commit is contained in:
Scott Ullrich 2009-07-04 21:56:25 -04:00
parent 0e50dda6b0
commit d7816d1b8c

View File

@ -225,7 +225,7 @@ pfSenseNanoBSDupgrade)
# Stream gzipped image to dd and explode image to new area
echo "" >> /conf/upgrade_log.txt
echo "/usr/bin/gzcat $IMG | /bin/dd of=/dev/${TOFLASH} bs=16k" >> /conf/upgrade_log.txt
/usr/bin/gzcat $IMG | /bin/dd of=/dev/${TOFLASH} bs=16k >> /conf/upgrade_log.txt 2>&1
/usr/bin/gzcat $IMG | /bin/dd of=/dev/${TOFLASH} bs=64k >> /conf/upgrade_log.txt 2>&1
# Grab a after upgrade look at fdisk
echo "" >> /conf/upgrade_log.txt