Toastie 1 month ago
parent
commit
02a65ec913
1 changed files with 11 additions and 0 deletions
  1. 11 0
      linux/get-mb-bios-info.sh

+ 11 - 0
linux/get-mb-bios-info.sh

@@ -0,0 +1,11 @@
+#!/bin/sh
+
+## Figure out the mainboard model and bios version
+
+for file in /sys/devices/virtual/dmi/id/*; do
+  if [ -f "$file" ]; then
+    echo "Filename: $file"
+    cat "$file"
+    echo ""
+  fi
+done | less