X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai%2Fconfig%2Ffiles%2Froot%2Ffai-check%2FVOL_BULLSEYE_BOOTSTRAP;h=34f682f10dae8c358843a2a3cb4371d4f8fa7567;hb=fc4fd94ceaf46bfac31e168ab087f8788ff41487;hp=a2502387eddd999baeb483bff6fa252aee78e53e;hpb=ceeb4e46d3bb326d01fcc7ed98d94ab0b580eda3;p=automated-distro-installer diff --git a/fai/config/files/root/fai-check/VOL_BULLSEYE_BOOTSTRAP b/fai/config/files/root/fai-check/VOL_BULLSEYE_BOOTSTRAP index a250238..34f682f 100755 --- a/fai/config/files/root/fai-check/VOL_BULLSEYE_BOOTSTRAP +++ b/fai/config/files/root/fai-check/VOL_BULLSEYE_BOOTSTRAP @@ -59,7 +59,13 @@ if $force; then exit fi -if ! dmidecode -t system | grep -F "Version: ThinkPad X200" &>/dev/null; then +# on one machine, I could do this: +# dmidecode -t system | grep -F "Version: ThinkPad X200" +# however, on another, the version field just says invalid data. +# todo: figure out some better way to check if we are on +# an x200. + +if ! dmidecode | grep -i thinkpad &>/dev/null; then echo "not x200, exiting" exit 0 fi