From 289a50fe09d9fd64c234cb4e4b5a476783c9f952 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Mon, 25 Apr 2011 07:09:28 +0000 Subject: [PATCH] more cleanup of -i to make it more consistent with -n and readable --- inxi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index f817c1f..cda0cb9 100755 --- a/inxi +++ b/inxi @@ -4954,12 +4954,12 @@ print_networking_ip_data() IFS="$ORIGINAL_IFS" if [[ $i -lt 3 ]];then if [[ -n ${a_interfaces_working[0]} ]];then - interfaces="$interfaces ${C1}IF:${C2} ${a_interfaces_working[0]} ${C1}IP:${C2} ${a_interfaces_working[1]}" + interfaces="$interfaces ${C1}IF IP:${C2} ${a_interfaces_working[0]} ${C1}-${C2} ${a_interfaces_working[1]}" fi else if [[ -n ${a_interfaces_working[0]} ]];then # space on end here for lining up with line starter - interfaces_2="$interfaces_2${a_interfaces_working[0]} ${C1}IP:${C2} ${a_interfaces_working[1]} " + interfaces_2="$interfaces_2${C1}IF IP:${C2} ${a_interfaces_working[0]} ${C1}-${C2} ${a_interfaces_working[1]} " fi fi ((i++))