mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-18 01:46:42 +01:00
#301 check dynDNS not static
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user