mirror of
https://schlomp.space/tastytea/hashboot
synced 2024-11-16 14:37:06 +01:00
mööp!
This commit is contained in:
parent
d0eefebb2a
commit
8d980aa4ab
26
hashboot
26
hashboot
@ -124,19 +124,19 @@ then
|
||||
then
|
||||
die 0
|
||||
else
|
||||
# #Compare actual hashes of MBR against saved hashes.
|
||||
# if [ "$(grep ${MBR_TMP} ${DIGEST_FILE})" != "$(grep ${MBR_TMP} ${DIGEST_FILE_TMP})" ]
|
||||
# then
|
||||
# echo "at least mbr must be written."
|
||||
# fi
|
||||
# #Compare actual hashes of /boot against saved hashes.
|
||||
# if [ "$(grep -v ${MBR_TMP} ${DIGEST_FILE})" != "$(grep -v ${MBR_TMP} ${DIGEST_FILE_TMP})" ]
|
||||
# then
|
||||
# echo "anything here, must be rewritten."
|
||||
# #if interactive ask if rewrite einzeln?
|
||||
# echo "find out which one?"
|
||||
# #read z und so weiter..
|
||||
# fi
|
||||
#Compare actual hashes of MBR against saved hashes.
|
||||
if [ "$(grep ${MBR_TMP} ${DIGEST_FILE})" != "$(grep ${MBR_TMP} ${DIGEST_FILE_TMP})" ]
|
||||
then
|
||||
echo "at least mbr must be written."
|
||||
fi
|
||||
#Compare actual hashes of /boot against saved hashes.
|
||||
if [ "$(grep -v ${MBR_TMP} ${DIGEST_FILE})" != "$(grep -v ${MBR_TMP} ${DIGEST_FILE_TMP})" ]
|
||||
then
|
||||
echo "anything here, must be rewritten."
|
||||
#if interactive ask if rewrite einzeln?
|
||||
echo "find out which one?"
|
||||
#read z und so weiter..
|
||||
fi
|
||||
mv ${DIGEST_FILE_TMP} ${DIGEST_FILE} || die 7
|
||||
echo "List of hashes written to ${DIGEST_FILE}"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user