From 1c4cc83cb6a117cec71480c595ee14ba7105e142 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Fri, 21 Nov 2008 21:54:28 +0000 Subject: [PATCH] maybe last beta before final release --- inxi | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/inxi b/inxi index 09db18b..42c25c7 100755 --- a/inxi +++ b/inxi @@ -1,7 +1,7 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 0.6.0-b1-t14 +#### version: 0.6.0-b1-t15 #### Date: November 20 2008 ######################################################################## #### inxi is a fork of infobash 3.02, the original bash sys info script by locsmif @@ -1806,14 +1806,17 @@ get_networking_wan_ip_data() fi done + # get ip or show console browser missing error if [[ -n $use_browser ]];then ip=$( $use_browser -dump techpatterns.com/ip | awk -F 'is: ' '{ #gsub("\n","",$2") print $2 }' ) + else + ip='Requires Console Browser!' fi if [[ -z $ip ]];then - ip='N/A' + ip='None Detected!' fi echo "$ip" } @@ -1859,7 +1862,7 @@ get_networking_local_ip_data() }') ) IFS="$ORIGINAL_IFS" else - A_INTERFACES_DATA=( "Interfaces requires ifconfig. App missing." ) + A_INTERFACES_DATA=( "Interfaces tool requires missing app: ifconfig" ) fi }