projects
/
backups
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More stuff
[backups/.git]
/
scripts
/
burn-imgs.sh
diff --git
a/scripts/burn-imgs.sh
b/scripts/burn-imgs.sh
index 1f38f7c05982875ef914a6edeaf1ccec4af46837..a180c4d494cac54a3f4cc6243780baba172318d5 100755
(executable)
--- a/
scripts/burn-imgs.sh
+++ b/
scripts/burn-imgs.sh
@@
-23,6
+23,14
@@
if [ -n "$img" ]; then
exit 1
fi
exit 1
fi
+ {
+ echo "Image md5sum:"
+ cat $img.md5sum
+ echo
+ echo "md5sum of burned disks:"
+ cat $img.stat
+ } | mailx -s "DVD burned. File it as ${img%.*}" $mailto
+
if [ "$(wc -l $img.stat 2>/dev/null)" == "2" ]; then
echo "Burned the image twice. Removing it!"
rm -f $img{,.md5sum,.stat}
if [ "$(wc -l $img.stat 2>/dev/null)" == "2" ]; then
echo "Burned the image twice. Removing it!"
rm -f $img{,.md5sum,.stat}