Skip to content

Commit

Permalink
fixup! fixup! Support FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
adithyaov committed Apr 30, 2024
1 parent 84592aa commit e005045
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ set_os_specific_vars() {
show_machine_info() {
local os=$(uname)
case "$os" in
Linux|FreeBSD)
Linux)
echo "OS: $os"
lscpu | grep "^Archi\|^CPU\|^Bogo\|^Hyper\|^Virtualiz"

Expand All @@ -179,6 +179,8 @@ show_machine_info() {
run_verbose cat /sys/fs/cgroup/cpu/cpu.cfs_period_us || true
run_verbose cat /sys/fs/cgroup/cpu/cpu.cfs_quota_us || true
run_verbose cat /sys/fs/cgroup/memory/memory.limit_in_bytes || true ;;
FreeBSD)
echo "OS: FreeBSD" ;;
Darwin)
echo "OS: MacOS" ;;
MINGW*)
Expand Down

0 comments on commit e005045

Please sign in to comment.