mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 08:57:57 +00:00
Made (usb) to USB to make more readable
This commit is contained in:
parent
7221c789fa
commit
2b7a30b82b
6
inxi
6
inxi
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
########################################################################
|
########################################################################
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### version: 0.4.22
|
#### version: 0.4.23
|
||||||
#### Date: November 8 2008
|
#### Date: November 8 2008
|
||||||
########################################################################
|
########################################################################
|
||||||
#### inxi is a fork of infobash, the original bash sys info script by locsmif
|
#### inxi is a fork of infobash, the original bash sys info script by locsmif
|
||||||
|
@ -1301,7 +1301,7 @@ get_hard_drive_data_advanced()
|
||||||
if [[ -n $sd_ls_by_id ]];then
|
if [[ -n $sd_ls_by_id ]];then
|
||||||
a_temp_working[2]=${a_temp_scsi[$j]}
|
a_temp_working[2]=${a_temp_scsi[$j]}
|
||||||
if [[ -n $( grep 'usb-' <<< $sd_ls_by_id ) ]];then
|
if [[ -n $( grep 'usb-' <<< $sd_ls_by_id ) ]];then
|
||||||
a_temp_working[3]='usb'
|
a_temp_working[3]='USB'
|
||||||
fi
|
fi
|
||||||
break
|
break
|
||||||
else
|
else
|
||||||
|
@ -1719,7 +1719,7 @@ print_hard_disk_data()
|
||||||
IFS="$ORIGINAL_IFS"
|
IFS="$ORIGINAL_IFS"
|
||||||
if [[ $B_SHOW_FULL_HDD == 'true' ]];then
|
if [[ $B_SHOW_FULL_HDD == 'true' ]];then
|
||||||
if [[ -n ${a_hdd_working[3]} ]];then
|
if [[ -n ${a_hdd_working[3]} ]];then
|
||||||
usb_data="(${a_hdd_working[3]}) "
|
usb_data="${a_hdd_working[3]} "
|
||||||
else
|
else
|
||||||
usb_data=''
|
usb_data=''
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue