aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-02-01 18:11:08 +0000
committerFrancis Rowe <info@gluglug.org.uk>2015-02-01 18:11:08 +0000
commitdfd0abfe8cf0bab3666e7f084179787ee6addda1 (patch)
tree7ef8904ffefbadb044533c2507230391c7660e06
parent4cfedc333001ba6daf102e18853432b26be57b38 (diff)
downloadlibrebootfr-dfd0abfe8cf0bab3666e7f084179787ee6addda1.tar.gz
librebootfr-dfd0abfe8cf0bab3666e7f084179787ee6addda1.zip
lenovobios_secondflash: fix BASH errors
-rwxr-xr-xlenovobios_secondflash7
1 files changed, 1 insertions, 6 deletions
diff --git a/lenovobios_secondflash b/lenovobios_secondflash
index 348e7340..7a3a7d70 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