Browse Source

x230: update latest Lenovo BIOS version

pull/54/head
Martin Kepplinger 5 years ago
parent
commit
f47f895b50
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      x230/x230_before_first_install.sh

+ 1
- 1
x230/x230_before_first_install.sh View File

@ -57,7 +57,7 @@ BIOS_VERSION=$(dmidecode -s bios-version | grep -o '[1-2].[0-7][0-9]')
bios_major=$(echo "$BIOS_VERSION" | cut -d. -f1) bios_major=$(echo "$BIOS_VERSION" | cut -d. -f1)
bios_minor=$(echo "$BIOS_VERSION" | cut -d. -f2) bios_minor=$(echo "$BIOS_VERSION" | cut -d. -f2)
if [ "${bios_minor}" -eq "73" ] ; then
if [ "${bios_minor}" -eq "74" ] ; then
echo -e "${GREEN}latest BIOS version${NC} installed. Nothing to do." echo -e "${GREEN}latest BIOS version${NC} installed. Nothing to do."
elif [ "${bios_minor}" -ge "60" ] ; then elif [ "${bios_minor}" -ge "60" ] ; then
echo "installed BIOS version is ${bios_major}.${bios_minor}." echo "installed BIOS version is ${bios_major}.${bios_minor}."


Loading…
Cancel
Save