mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
Updated to 0.5.28
This commit is contained in:
parent
52829c43c7
commit
2a7b3976cd
10
inxi
10
inxi
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue