mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
Made a few subtle text adjustments, no version number change, these are purely cosmetic adjustments.
Made new tarball as well for maintainers.
This commit is contained in:
parent
911fe425dc
commit
cdaa47b016
8
inxi
8
inxi
|
@ -7183,14 +7183,14 @@ print_machine_data()
|
||||||
fi
|
fi
|
||||||
IFS="$ORIGINAL_IFS"
|
IFS="$ORIGINAL_IFS"
|
||||||
else
|
else
|
||||||
system_line="${C2}No /sys/class/dmi machine data. Try newer kernel, or install dmidecode.${CN}"
|
system_line="${C2}No /sys/class/dmi machine data - try newer kernel, or install dmidecode${CN}"
|
||||||
fi
|
fi
|
||||||
# patch to dump all of above if dmidecode was data source and non root user
|
# patch to dump all of above if dmidecode was data source and non root user
|
||||||
if [[ ${A_MACHINE_DATA[0]} == 'dmidecode-non-root-user' || ${A_MACHINE_DATA[0]} == 'dmidecode-no-smbios-dmi-data' ]];then
|
if [[ ${A_MACHINE_DATA[0]} == 'dmidecode-non-root-user' || ${A_MACHINE_DATA[0]} == 'dmidecode-no-smbios-dmi-data' ]];then
|
||||||
if [[ ${A_MACHINE_DATA[0]} == 'dmidecode-non-root-user' ]];then
|
if [[ ${A_MACHINE_DATA[0]} == 'dmidecode-non-root-user' ]];then
|
||||||
system_line="${C2}No /sys/class/dmi. Using dmidecode: you must be root to run dmidecode.${CN}"
|
system_line="${C2}No /sys/class/dmi, using dmidecode: you must be root to run dmidecode${CN}"
|
||||||
elif [[ ${A_MACHINE_DATA[0]} == 'dmidecode-no-smbios-dmi-data' ]];then
|
elif [[ ${A_MACHINE_DATA[0]} == 'dmidecode-no-smbios-dmi-data' ]];then
|
||||||
system_line="${C2}No /sys/class/dmi. Using dmidecode: no machine data available.${CN}"
|
system_line="${C2}No /sys/class/dmi, using dmidecode: no machine data available${CN}"
|
||||||
fi
|
fi
|
||||||
mobo_line=''
|
mobo_line=''
|
||||||
bios_line=''
|
bios_line=''
|
||||||
|
@ -8396,7 +8396,7 @@ print_unmounted_partition_data()
|
||||||
print_screen_output "$unmounted_data"
|
print_screen_output "$unmounted_data"
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
unmounted_data=$( create_print_line "Unmounted:" "No unmounted partitions detected." )
|
unmounted_data=$( create_print_line "Unmounted:" "No unmounted partitions detected" )
|
||||||
print_screen_output "$unmounted_data"
|
print_screen_output "$unmounted_data"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue