mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
maybe last beta before final release
This commit is contained in:
parent
ad4b93011b
commit
1c4cc83cb6
9
inxi
9
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue