Updated to 0.5.28

This commit is contained in:
inxi-svn 2008-11-14 01:48:42 +00:00
parent 52829c43c7
commit 2a7b3976cd

10
inxi
View file

@ -1,7 +1,7 @@
#!/bin/bash
########################################################################
#### Script Name: inxi
#### version: 0.5.27-b-1-t-3
#### version: 0.5.28-b-1-t-1
#### Date: November 13 2008
########################################################################
#### inxi is a fork of infobash 3.02, the original bash sys info script by locsmif
@ -1023,7 +1023,7 @@ get_audio_data()
A_AUDIO_DATA[$alsa_index]=$( gawk '{
{ IGNORECASE=1 }
# some alsa strings have the build date in (...)
# alsa remove trailing .
# also remove trailing .
gsub( "Driver | [(].*[)]|\.$","",$0 )
gsub(/,/, " ", $0)
gsub(/^ +| +$/, "", $0)
@ -1957,7 +1957,6 @@ print_audio_data()
fi
}
print_cpu_data()
{
local cpu_data='' i='' cpu_clock_speed='' cpu_multi_clock_data=''
@ -2086,7 +2085,10 @@ print_extras_data()
local extras_data='' ip=''
if [[ -n $( which lynx ) ]];then
ip=$( lynx -dump techpatterns.com/ip | awk -F 'is: ' '{print $2}' )
ip=$( lynx -dump techpatterns.com/ip | awk -F 'is: ' '{
#gsub("\n","",$2")
print $2
}' )
fi
if [[ -z $ip ]];then
ip='N/A'