From 3fa22cd05161da14d9cdf569401ad8408567191a Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Sat, 8 Nov 2008 21:33:48 +0000 Subject: [PATCH] trying some usb drive fixes, needs more work --- inxi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index 903014a..99e8adf 100755 --- a/inxi +++ b/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)