V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m34s
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user