From c3a436abfc636835caafc75a07a4316606ad27b7 Mon Sep 17 00:00:00 2001 From: Tine Date: Thu, 2 Jan 2025 16:52:08 +0100 Subject: [PATCH] fix(ingress.tjo.cloud): copy binary --- ingress.tjo.cloud/root/etc/default/dyndns | 2 +- ingress.tjo.cloud/root/usr/local/bin/dyndns | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ingress.tjo.cloud/root/etc/default/dyndns b/ingress.tjo.cloud/root/etc/default/dyndns index b18c3d9..eeb7b96 100644 --- a/ingress.tjo.cloud/root/etc/default/dyndns +++ b/ingress.tjo.cloud/root/etc/default/dyndns @@ -14,4 +14,4 @@ REMOVE_DUPLICATES=true SLEEP_INTERVAL=600 # The domain your subdomain is registered at. (i.e. foo.com for home.foo.com) -DOMAIN=ingress.tjo.cloud \ No newline at end of file +DOMAIN=ingress.tjo.cloud diff --git a/ingress.tjo.cloud/root/usr/local/bin/dyndns b/ingress.tjo.cloud/root/usr/local/bin/dyndns index 302d445..c4b5f0f 100755 --- a/ingress.tjo.cloud/root/usr/local/bin/dyndns +++ b/ingress.tjo.cloud/root/usr/local/bin/dyndns @@ -27,7 +27,7 @@ error() { } test -f "${DIGITALOCEAN_TOKEN_FILE:-}" && DIGITALOCEAN_TOKEN="$(cat "$DIGITALOCEAN_TOKEN_FILE")" -test -z "$DIGITALOCEAN_TOKEN" && error "DIGITALOCEAN_TOKEN not set!" +test -z "${DIGITALOCEAN_TOKEN}" && error "DIGITALOCEAN_TOKEN not set!" test -z "${DOMAIN}" && error "DOMAIN not set!" test -z "${NAME}" && error "NAME not set!"