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
|
#!/bin/bash
|
||||||
########################################################################
|
########################################################################
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### version: 0.6.0-b1-t14
|
#### version: 0.6.0-b1-t15
|
||||||
#### Date: November 20 2008
|
#### Date: November 20 2008
|
||||||
########################################################################
|
########################################################################
|
||||||
#### inxi is a fork of infobash 3.02, the original bash sys info script by locsmif
|
#### 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
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# get ip or show console browser missing error
|
||||||
if [[ -n $use_browser ]];then
|
if [[ -n $use_browser ]];then
|
||||||
ip=$( $use_browser -dump techpatterns.com/ip | awk -F 'is: ' '{
|
ip=$( $use_browser -dump techpatterns.com/ip | awk -F 'is: ' '{
|
||||||
#gsub("\n","",$2")
|
#gsub("\n","",$2")
|
||||||
print $2
|
print $2
|
||||||
}' )
|
}' )
|
||||||
|
else
|
||||||
|
ip='Requires Console Browser!'
|
||||||
fi
|
fi
|
||||||
if [[ -z $ip ]];then
|
if [[ -z $ip ]];then
|
||||||
ip='N/A'
|
ip='None Detected!'
|
||||||
fi
|
fi
|
||||||
echo "$ip"
|
echo "$ip"
|
||||||
}
|
}
|
||||||
|
@ -1859,7 +1862,7 @@ get_networking_local_ip_data()
|
||||||
}') )
|
}') )
|
||||||
IFS="$ORIGINAL_IFS"
|
IFS="$ORIGINAL_IFS"
|
||||||
else
|
else
|
||||||
A_INTERFACES_DATA=( "Interfaces requires ifconfig. App missing." )
|
A_INTERFACES_DATA=( "Interfaces tool requires missing app: ifconfig" )
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue