minor updates
[automated-distro-installer] / fai / config / files / root / fai-check / VOL_BULLSEYE_BOOTSTRAP
index a2502387eddd999baeb483bff6fa252aee78e53e..34f682f10dae8c358843a2a3cb4371d4f8fa7567 100755 (executable)
@@ -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