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 }