Merge pull request #907 from pi-hole/bugfix/chronometer-interface

replace hardcoded interface with var
This commit is contained in:
Mcat12 2016-11-07 21:35:09 -05:00 committed by GitHub
commit b9a263ecb2
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ normalChrono() {
echo "| _/ |___| ' \/ _ \ / -_)"
echo "|_| |_| |_||_\___/_\___|"
echo ""
echo " $(ifconfig eth0 | awk '/inet addr/ {print $2}' | cut -d':' -f2)"
echo " ${IPV4_ADDRESS}"
echo ""
uptime | cut -d' ' -f11-
#uptime -p #Doesn't work on all versions of uptime