diff --git a/functions.sh b/functions.sh index a4ea339..f1f9fc4 100644 --- a/functions.sh +++ b/functions.sh @@ -37,7 +37,7 @@ hasShellball=false hsw_boxes=('' '' '' '' ''); hsw_books=('' '' '' ''); bdw_boxes=('' '' ''); -bdw_books=('' '' '' '' ''); +bdw_books=('' '' '' '' '' ''); baytrail=('' '' '' '' '' '' '' '' '' '' '' '' '' '' ''); baytrail_full_rom=('' '' '' '' '' '' '' ''); braswell=('' '' '' '' '' '' '' ''); @@ -271,6 +271,7 @@ fi device=$(dmidecode -s system-product-name | tr '[:upper:]' '[:lower:]' | awk 'NR==1{print $1}') if [[ $? -ne 0 || "${device}" = "" ]]; then echo_red "Unable to determine Chromebox/book model; cannot continue." + echo_red "It's likely you are using an unsupported ARM-based ChromeOS device,\nonly Intel-based devices are supported at this time." return 1 fi [[ "${hsw_boxes[@]}" =~ "$device" ]] && isHswBox=true