mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
(No version change)
More cleanup of comments
This commit is contained in:
parent
4b540d3c9b
commit
88ca162533
1
inxi
1
inxi
|
@ -1503,7 +1503,6 @@ get_hard_drive_data_advanced()
|
||||||
temp_name=$( tr ' ' '_' <<< ${a_temp_scsi[$j]} | cut -d '-' -f 1 )
|
temp_name=$( tr ' ' '_' <<< ${a_temp_scsi[$j]} | cut -d '-' -f 1 )
|
||||||
|
|
||||||
sd_ls_by_id=$( egrep -m1 ".*$temp_name.*${a_temp_working[0]}$" <<< "$ls_disk_by_id" )
|
sd_ls_by_id=$( egrep -m1 ".*$temp_name.*${a_temp_working[0]}$" <<< "$ls_disk_by_id" )
|
||||||
# sd_ls_by_id=$( ls -l /dev/disk/by-id | egrep -m1 ".*$temp_name.*${a_temp_working[0]}$" )
|
|
||||||
|
|
||||||
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]}
|
||||||
|
|
Loading…
Reference in a new issue