mirror of https://schlomp.space/tastytea/hashboot
parent
4f201e055a
commit
292ed4e82b
6
hashboot
6
hashboot
|
@ -12,7 +12,7 @@
|
||||||
# meet some day, and you think this stuff is worth it, you can give us a hug. #
|
# meet some day, and you think this stuff is worth it, you can give us a hug. #
|
||||||
###################################################################################
|
###################################################################################
|
||||||
|
|
||||||
VERSION="0.9.3"
|
VERSION="0.9.4"
|
||||||
PATH="/bin:/usr/bin:/sbin:/usr/sbin:${PATH}"
|
PATH="/bin:/usr/bin:/sbin:/usr/sbin:${PATH}"
|
||||||
|
|
||||||
DIGEST_FILE="/var/lib/hashboot.digest"
|
DIGEST_FILE="/var/lib/hashboot.digest"
|
||||||
|
@ -115,10 +115,10 @@ else
|
||||||
echo "BACKUP_FILE=${BACKUP_FILE}" >> ${CONFIG_FILE}
|
echo "BACKUP_FILE=${BACKUP_FILE}" >> ${CONFIG_FILE}
|
||||||
echo -n "Include BIOS check? (y/n)"
|
echo -n "Include BIOS check? (y/n)"
|
||||||
read prompt
|
read prompt
|
||||||
while [[ ! $prompt == "y" || $prompt == "Y" || $prompt == "n" || $prompt == "N" ]]; do
|
while ! [[ $prompt == "y" || $prompt == "Y" || $prompt == "n" || $prompt == "N" ]]; do
|
||||||
read prompt
|
read prompt
|
||||||
done
|
done
|
||||||
if [ "${prompt}" == "y" ]; then
|
if [[ "${prompt}" == "y" || "${prompt}" == "Y" ]]; then
|
||||||
if which flashrom; then
|
if which flashrom; then
|
||||||
flashrom
|
flashrom
|
||||||
echo -n "Which programmer? (eg. internal) "
|
echo -n "Which programmer? (eg. internal) "
|
||||||
|
|
Loading…
Reference in New Issue