summaryrefslogtreecommitdiffstats
path: root/lenovobios_secondflash
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-02-01 13:11:08 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-02-01 13:11:08 (EST)
commitdfd0abfe8cf0bab3666e7f084179787ee6addda1 (patch)
tree7ef8904ffefbadb044533c2507230391c7660e06 /lenovobios_secondflash
parent4cfedc333001ba6daf102e18853432b26be57b38 (diff)
downloadlibreboot-dfd0abfe8cf0bab3666e7f084179787ee6addda1.zip
libreboot-dfd0abfe8cf0bab3666e7f084179787ee6addda1.tar.gz
libreboot-dfd0abfe8cf0bab3666e7f084179787ee6addda1.tar.bz2
lenovobios_secondflash: fix BASH errors
Diffstat (limited to 'lenovobios_secondflash')
-rwxr-xr-xlenovobios_secondflash7
1 files changed, 1 insertions, 6 deletions
diff --git a/lenovobios_secondflash b/lenovobios_secondflash
index 348e734..7a3a7d7 100755
--- a/lenovobios_secondflash
+++ b/lenovobios_secondflash
@@ -59,14 +59,9 @@ fi
$(echo $flashrom) -p internal -w $1
# Reset bucts back to zero
-$errOut = " \
- WARNING: bucts not found, but if the image was flashed then it's probably safe \
- A dd'd image (like libreboot's images) flashed with bucts=1 is ok. If the image is not dd'd and bucts=1, \
- then you should run ./bucts 0 now, or remove the yellow cmos/nvram battery for a minute. \
- "
# this means we are working in src
if [ ! -f "$bucts" ]; then
- echo "$errOut"
+ echo "WARNING: bucts not found, but if the image was flashed then it's probably safe. A dd'd image (like libreboot's images) flashed with bucts=1 is ok. If the image is not dd'd and bucts=1, then you should run ./bucts 0 now, or remove the yellow cmos/nvram battery for a minute."
exit 1
fi