TODO update

pull/1/head
tastytea 2015-09-30 02:43:34 +02:00
parent f4f97d6f74
commit 658924a42f
2 changed files with 3 additions and 1 deletions

2
TODO
View File

@ -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)

View File

@ -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 !!"