diff --git a/inxi b/inxi index a7595cc..de6b538 100755 --- a/inxi +++ b/inxi @@ -6661,7 +6661,11 @@ get_memory_data() # procs memory page disks faults cpu # r b w avm fre flt re pi po fr sr ad0 ad1 in sy cs us sy id # 0 0 0 21880M 6444M 924 32 11 0 822 827 0 0 853 832 463 8 3 88 - + # dragonfly + # procs memory page disks faults cpu + # r b w avm fre flt re pi po fr sr ad0 ad1 in sy cs us sy id + # 0 0 0 0 84060 30273993 2845 12742 1164 407498171 320960902 0 0 424453025 1645645889 1254348072 35 38 26 + BEGIN { IGNORECASE=1 memory="" @@ -11249,7 +11253,8 @@ print_dmidecode_error() if [[ $1 == 'sys' ]];then if [[ $B_FORCE_DMIDECODE == 'true' ]];then sysDmiError='Forcing ' - elif [[ $BSD_TYPE == '' || -d /sys ]];then + # dragonfly has /sys, but it's empty + elif [[ $BSD_TYPE == '' || -d /sys/devices ]];then sysDmiError='No /sys/class/dmi; using ' else sysDmiError='Using '