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

pull/1/head
xor 2015-10-04 21:29:03 +02:00
parent b4336bd2e6
commit 44cc8b36e9
1 changed files with 2 additions and 2 deletions

View File

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