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.
dev
alex 12 months ago
parent 8d6ec7b624
commit b5fa0a0cad
Signed by: x1ddos
GPG Key ID: 540189B756BF5B12

@ -41,7 +41,7 @@ lnd_svc_install() {
exec 2>&1 exec 2>&1
# wait for OS to acquire a clock sync. # wait for OS to acquire a clock sync.
# random date in the past: Oct 22 06:40:00 PM UTC 2023 # random date in the past: Oct 22 06:40:00 PM UTC 2023
while [ "$(date +%s)" -lt 1698000000 ] while [ "\$(date +%s)" -lt 1698000000 ]
do do
echo "service start suspended until clock sync" echo "service start suspended until clock sync"
sleep 5 sleep 5

Loading…
Cancel
Save