From 17c4e561517ef70c3dcef816c4cd4671f0c4b759 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Tue, 4 Nov 2008 02:29:11 +0000 Subject: [PATCH] Fixed card number bug in networking --- inxi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index efba7d1..b0c9e57 100755 --- a/inxi +++ b/inxi @@ -1,7 +1,7 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 0.3.11 +#### version: 0.3.12 #### Date: November 3 2008 ######################################################################## #### inxi is a fork of infobash, the original bash sys info script by locsmif @@ -1471,7 +1471,7 @@ print_networking_data() if [ -n "${a_network_working[1]}" ];then port_data=" ${C1}at port${C2} ${a_network_working[1]}" fi - network_data="${C1}$card_one${C2}${a_network_working[0]}$port_data" + network_data="${C1}Card-$(( $i + 1 )) ${C2}${a_network_working[0]}$port_data" network_data=$( create_print_line " " "$network_data" ) print_screen_output "$network_data" done