improve the echo... ... .. .. . .

This commit is contained in:
xor 2015-10-04 21:29:03 +02:00
parent b4336bd2e6
commit 44cc8b36e9

View File

@ -140,9 +140,9 @@ then
#Compare actual hashes of /boot against saved hashes.
if [ "$(grep -v ${MBR_TMP} ${DIGEST_FILE})" != "$(grep -v ${MBR_TMP} ${DIGEST_FILE_TMP})" ]
then
[ -t "0" ] && echo "anything here, must be rewritten."
[ -t "0" ] && echo "mbr was faulty."
#if interactive ask if rewrite einzeln?
[ -t "0" ] && echo "find out which one?"
[ -t "0" ] && echo "any file was faulty."
#read z und so weiter..
fi
mv ${DIGEST_FILE_TMP} ${DIGEST_FILE} || die 7