V8.13.440.2025.11.19
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 3m29s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-11-25 13:45:38 +00:00
parent 17cd72c00b
commit 62463f35ec

View File

@@ -109,22 +109,33 @@ Live ()
done done
unset IFS unset IFS
# Scan local devices for the image ### Skip autodetection, '$livefs_root' was pre-seeded by '0024-ciss-crypt-squash'. ---------------------------------------
if [ -n "${livefs_root:-}" ]; then
printf "\e[92m[INFO] live() : Using preseeded [livefs_root=%s] skipping autodetect. \e[0m\n" "${livefs_root}"
else
### Scan local devices for the image.
i=0 i=0
while [ "${i}" -lt 60 ] while [ "${i}" -lt 60 ]; do
do
# shellcheck disable=SC2086 # shellcheck disable=SC2086
livefs_root=$(find_livefs ${i}) livefs_root=$(find_livefs ${i})
if [ -n "${livefs_root}" ] if [ -n "${livefs_root}" ]; then
then
break break
fi fi
sleep 1 sleep 1
i=$((i + 1)) i=$((i + 1))
done done
fi fi
fi
fi fi
printf "\e[93m[DEBUG] live(): [%s] -> livefs_root. \e[0m\n" "${livefs_root}" printf "\e[93m[DEBUG] live(): [%s] -> livefs_root. \e[0m\n" "${livefs_root}"