]> arthur.barton.de Git - bup.git/blobdiff - dev/system-info
Drop vestigial compat.range
[bup.git] / dev / system-info
index cc2d3958ea1ea2cc29c4d0376415c7823eb8f27f..919e8e7f7fa9c71f6953b7f9b04760f81ab3d010 100755 (executable)
@@ -8,10 +8,14 @@ case "$OSTYPE" in
     linux*)
         cat /proc/cpuinfo
         cat /proc/meminfo
-    ;;
+        ;;
+    freebsd*)
+        sysctl hw.machine hw.machine_arch hw.model hw.ncpu
+        sysctl hw.{phys,user,real}mem
+        ;;
     darwin*)
         system_profiler SPHardwareDataType
-    ;;
+        ;;
 esac
 
 set -x