From b5fa0a0cad18a7efd547b4ac3e327400676b2c7e Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 23 Nov 2023 15:07:18 +0100 Subject: [PATCH] lnd: evaluate timestamp at sv start time a previous commit 8d6ec7b was missing an escaped $ sign which made the "date" command evaluate at sysupdates execution, not sv start time. --- lnd/env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnd/env b/lnd/env index 5d1045b..05964fd 100644 --- a/lnd/env +++ b/lnd/env @@ -41,7 +41,7 @@ lnd_svc_install() { exec 2>&1 # wait for OS to acquire a clock sync. # random date in the past: Oct 22 06:40:00 PM UTC 2023 -while [ "$(date +%s)" -lt 1698000000 ] +while [ "\$(date +%s)" -lt 1698000000 ] do echo "service start suspended until clock sync" sleep 5