From 46671c817b6b4a56140eafc28b3eb9e53702bdee Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Sat, 30 Apr 2011 06:45:56 +0000 Subject: [PATCH] added card type --- inxi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inxi b/inxi index 5f2d813..fd2d2ec 100755 --- a/inxi +++ b/inxi @@ -462,7 +462,7 @@ BAN_LIST_CPU='' ### USB networking search string data, because some brands can have other products than ### wifi/nic cards, they need further identifiers, with wildcards. -USB_NETWORK_SEARCH="Atmel Linksys Netgear Realtek.*Network Realtek.*Wireless Realtek.*WLAN" +USB_NETWORK_SEARCH="Atmel Davicom Linksys Netgear Realtek.*Network Realtek.*Wireless Realtek.*WLAN" # WARNING: In the main part below (search for 'KONVI') # there's a check for Konversation-specific config files. @@ -3317,6 +3317,8 @@ get_networking_data() { gsub( /,/, " ", $0 ) gsub(/'"$BAN_LIST_NORMAL"'/, "", $0) + gsub(/realtek semiconductor/, "Realtek", $0) + gsub(/davicom semiconductor/, "Davicom", $0) for ( i=7; i<= NF; i++ ) { string = string separator $i separator = " "