2014-12-18, 02:41
(2014-12-18, 01:58)GoodOmens Wrote: Updated the firmware on my Dell Chromebox and noticed in the script I saw:
Code:Do you wish to continue? [y/N] y
Checking if update available...
bash: bad number
Firmware update available (20141210)
Downloading flashrom utility
Downloading cbfstool utility
Reading current firmware
Downloading coreboot firmware
Installing custom coreboot firmware: coreboot-haswell-chromebox-20141210-md.rom
coreboot firmware successfully updated.
Please power cycle your ChromeBox to complete the update.
Don't know if there is a typo in your script when it checks the bash for something or if it's always said that. Updated without a hitch though.
Steps to repeat:
curl -L -O http://goo.gl/HSZer4
bash HSZer4
edit: was a parsing error reading the date from the current firmware (the formatting changed since I first wrote the script) -- fixed
(2014-12-18, 02:39)pmpartners Wrote: I had that output on my ASUS Chromebox as well. I figured for my install, standalone OpenELEC, the BASH version isn't returned because OpenELEC doesn't use a complete BASH shell.
no, it was me doing a numerical compare on an empty variable