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

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-10-14 18:57:38 +01:00
parent 3cf1cce7ae
commit 60a932d48b
3 changed files with 9 additions and 6 deletions

View File

@@ -16,7 +16,9 @@ guard_sourcing
# Install the 'dropbear-initramfs' and replace the binaries with those from the previous Ultra Hardened build. # Install the 'dropbear-initramfs' and replace the binaries with those from the previous Ultra Hardened build.
# Globals: # Globals:
# DIR_TMP # DIR_TMP
# RECOVERY
# TARGET # TARGET
# VAR_RUN_RECOVERY
# Arguments: # Arguments:
# None # None
# Returns: # Returns:

View File

@@ -15,7 +15,7 @@ guard_sourcing
####################################### #######################################
# Deploy all changes made using the 'update-grub' and 'update-initramfs' commands. # Deploy all changes made using the 'update-grub' and 'update-initramfs' commands.
# Globals: # Globals:
# VAR_CHROOT_SYS_MASK_HELPER # TARGET
# VAR_KERNEL # VAR_KERNEL
# Arguments: # Arguments:
# None # None

View File

@@ -57,15 +57,16 @@ After=ifup@${VAR_FINAL_NIC}.service network.target
Wants=ifup@${VAR_FINAL_NIC}.service Wants=ifup@${VAR_FINAL_NIC}.service
[Service] [Service]
### Block until the exact v6 address is present and not tentative ### Block until the exact v6 address is present and not tentative.
### 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 '\ ExecStartPre=/bin/sh -c '\
var_ip="${VAR_FINAL_IPV6}"; \
for i in $(seq 1 60); do \ for i in $(seq 1 60); do \
ip -6 addr show dev ens3 tentative | grep -q "inet6" && { sleep 0.5; continue; }; \ ip -6 addr show dev ${VAR_FINAL_NIC} tentative | grep -q "inet6" && { sleep 0.5; continue; }; \
ip -6 addr show dev ens3 scope global | grep -q "\${var_ip}/" && exit 0; \ ip -6 addr show dev ${VAR_FINAL_NIC} scope global | grep -q "${VAR_FINAL_IPV6}/" && exit 0; \
sleep 0.5; \ sleep 0.5; \
done; \ done; \
echo "IPv6 address ${var_ip} not ready"; exit 1' echo "IPv6 address ${VAR_FINAL_IPV6} on ${VAR_FINAL_NIC} not ready"; exit 1'
TimeoutStartSec=32s TimeoutStartSec=32s
Restart=on-failure Restart=on-failure
RestartSec=2s RestartSec=2s