From: Carl Baldwin Date: Thu, 10 Nov 2005 15:28:23 +0000 (-0700) Subject: dd should append to the logfile rather than overwrite it. X-Git-Tag: release-0.4~15^2~7 X-Git-Url: http://git.pippins.net/embedvideo/.git/static/images/%7Bdone_action%7D?a=commitdiff_plain;h=9156c1a4bf85e6a6fb9f27eb387cc95414b7cab0;p=backups%2F.git dd should append to the logfile rather than overwrite it. --- diff --git a/scripts/burn-imgs.sh b/scripts/burn-imgs.sh index 0870b0d..a2793fe 100755 --- a/scripts/burn-imgs.sh +++ b/scripts/burn-imgs.sh @@ -44,7 +44,7 @@ $cronstopstart start # Now verify the disk by running md5sum on the entire contents of the disk md5sum=$(tempfile) -dd if=$dev bs=1M count=4440 2>$logfile | md5sum | awk '{print$1}' > $md5sum +dd if=$dev bs=1M count=4440 2>>$logfile | md5sum | awk '{print$1}' > $md5sum # Check that the md5sums match if ! cmp $md5sum $img.md5sum; then