mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
language tweak
This commit is contained in:
parent
ef8f431ec4
commit
f94a67dca6
4
inxi
4
inxi
|
@ -6942,9 +6942,9 @@ print_machine_data()
|
|||
# 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' ]];then
|
||||
system_line="${C2}You must be root to use dmidecode. Fallback mode from non-present /sys data.${CN}"
|
||||
system_line="${C2}Using dmidecode, no /sys/class/dmi. You must be root to use dmidecode.${CN}"
|
||||
elif [[ ${A_MACHINE_DATA[0]} == 'dmidecode-no-smbios-dmi-data' ]];then
|
||||
system_line="${C2}No dmidecode data available for system. Fallback mode from non-present /sys data.${CN}"
|
||||
system_line="${C2}Using dmidecode, no /sys/class/dmi. No dmidecode data available for system.${CN}"
|
||||
fi
|
||||
mobo_line=''
|
||||
bios_line=''
|
||||
|
|
Loading…
Reference in a new issue