mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 21:29:29 +02:00
fix comapre ip with dns
This commit is contained in:
parent
e2360d0e08
commit
6d379d92a4
@ -190,7 +190,7 @@ else
|
||||
|
||||
#check if dyndns resolves to correct IP
|
||||
ipOfDynDNS=$(getent hosts rootzoll.chickenkiller.com | awk '{ print $1 }')
|
||||
if [ "${ipOfDynDNS}" != "${public_addr}" ]; then
|
||||
if [ "${ipOfDynDNS}:${public_port}" != "${public_addr}" ]; then
|
||||
public_color="${color_red}"
|
||||
else
|
||||
public_color="${color_yellow}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user