mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 08:57:57 +00:00
trying some usb drive fixes, needs more work
This commit is contained in:
parent
164d8320d4
commit
3fa22cd051
4
inxi
4
inxi
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
########################################################################
|
||||
#### Script Name: inxi
|
||||
#### version: 0.4.11
|
||||
#### version: 0.4.12
|
||||
#### Date: November 8 2008
|
||||
########################################################################
|
||||
#### inxi is a fork of infobash, the original bash sys info script by locsmif
|
||||
|
@ -1242,7 +1242,7 @@ get_hard_drive_data_advanced()
|
|||
a_temp_scsi=( $( gawk -F'\t' '
|
||||
BEGIN { IGNORECASE=1 }
|
||||
# if the item starts with empty, void field, assume it is flash drive
|
||||
/^ata|^scsi|^ / {
|
||||
/^ata|^scsi|^ |^corsair|^wdc|^kingston/ {
|
||||
gsub(/,/, " ", $(NF -1) )
|
||||
gsub(/^ +| +$/, "", $(NF -1) )
|
||||
print $(NF -1)
|
||||
|
|
Loading…
Reference in a new issue