diff --git a/hashboot b/hashboot index 814ff3d..c8f897f 100755 --- a/hashboot +++ b/hashboot @@ -67,7 +67,7 @@ write_hashes () fi if [ $((${CKMODES} & 100)) -ne 0 ]; then #read bios to file - flashrom --programmer $PROGRAMMER -r ${BIOS_TMP} > /dev/null 2>&1 + flashrom --programmer ${PROGRAMMER} -r ${BIOS_TMP} > /dev/null 2>&1 #and write hashes of bios files to ${1} ${HASHER} ${BIOS_TMP} >> ${1} @@ -149,7 +149,7 @@ else echo "You need to have flashrom installed!" echo "Currently it is not installed, don't reboot" echo "If you need another programmer than internal" - echo "use the variable \$PROGRAMMER in $CONFIG_FILE\!" + echo "use the variable PROGRAMMER in $CONFIG_FILE\!" fi fi @@ -249,7 +249,7 @@ then fi fi if [ $((${CKMODES} & 100)) -ne 0 ]; then - flashrom --programmer $PROGRAMMER -r ${BIOS_TMP} > /dev/null 2>&1 + flashrom --programmer ${PROGRAMMER} -r ${BIOS_TMP} > /dev/null 2>&1 #if we set an programmer chip in config, find line with hash for bios and compare. if smthg wrong, panic grep ${BIOS_TMP} ${DIGEST_FILE} | ${HASHER} --check --warn --quiet --strict | tee -a ${LOG_FILE} if [ ${PIPESTATUS[2]} -ne 0 ]