mirror of https://schlomp.space/tastytea/hashboot
improve the echo... ... .. .. . .
parent
b4336bd2e6
commit
44cc8b36e9
4
hashboot
4
hashboot
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue