mirror of https://schlomp.space/tastytea/hashboot
TODO update
parent
f4f97d6f74
commit
658924a42f
2
TODO
2
TODO
|
@ -1,2 +1,4 @@
|
||||||
* Debian package
|
* Debian package
|
||||||
* Ubuntu package
|
* Ubuntu package
|
||||||
|
* Supress dd output while staying Debian 7 compatible
|
||||||
|
* Find out if we are raspbian compatible (first partition starts at 4MiB)
|
||||||
|
|
|
@ -103,7 +103,7 @@ then
|
||||||
HASHER=$(head -n1 ${DIGEST_FILE} | awk '{print $5}')
|
HASHER=$(head -n1 ${DIGEST_FILE} | awk '{print $5}')
|
||||||
read_config
|
read_config
|
||||||
|
|
||||||
dd if=${MBR_DEVICE} of=${MBR_TMP} bs=1M count=1 status=noxfer || die 8
|
dd if=${MBR_DEVICE} of=${MBR_TMP} bs=1M count=1 status=noxfer || die 8
|
||||||
if ! $(grep ${MBR_TMP} ${DIGEST_FILE} | ${HASHER} --check --warn --quiet --strict > ${LOG_FILE})
|
if ! $(grep ${MBR_TMP} ${DIGEST_FILE} | ${HASHER} --check --warn --quiet --strict > ${LOG_FILE})
|
||||||
then
|
then
|
||||||
echo " !! TIME TO PANIK: MBR WAS MODIFIED !!"
|
echo " !! TIME TO PANIK: MBR WAS MODIFIED !!"
|
||||||
|
|
Loading…
Reference in New Issue