mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-03-30 12:36:07 +02:00
#301 check dynDNS not static
This commit is contained in:
parent
b29c65a72a
commit
ca12fdfd77
@ -192,7 +192,7 @@ else
|
||||
if [ ${#dynDomain} -gt 0 ]; then
|
||||
|
||||
#check if dyndns resolves to correct IP
|
||||
ipOfDynDNS=$(getent hosts rootzoll.chickenkiller.com | awk '{ print $1 }')
|
||||
ipOfDynDNS=$(getent hosts ${dynDomain} | awk '{ print $1 }')
|
||||
if [ "${ipOfDynDNS}:${public_port}" != "${public_addr}" ]; then
|
||||
public_color="${color_red}"
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user