V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m34s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-10-14 20:51:22 +01:00
parent e69ef46893
commit 0cc6c266b9
2 changed files with 91 additions and 104 deletions

View File

@@ -61,13 +61,13 @@ Wants=ifup@${VAR_FINAL_NIC}.service
### If any tentative IPv6 address exists on the device, wait and retry.
### Check for the exact global address (fixed-string match, include trailing "/").
ExecStartPre=/bin/sh -c '\
for i in $(seq 1 60); do \
for i in \$(seq 1 60); do \
ip -6 addr show dev ${VAR_FINAL_NIC} tentative | grep -q "inet6" && { sleep 0.5; continue; }; \
ip -6 addr show dev ${VAR_FINAL_NIC} scope global | grep -Fq " ${VAR_FINAL_IPV6}/" && exit 0; \
sleep 0.5; \
done; \
echo "IPv6 address ${VAR_FINAL_IPV6} on ${VAR_FINAL_NIC} not ready"; exit 1'
TimeoutStartSec=32s
TimeoutStartSec=40s
Restart=on-failure
RestartSec=2s
EOF