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'. ---------------------------------------
i=0 if [ -n "${livefs_root:-}" ]; then
while [ "${i}" -lt 60 ]
do
# shellcheck disable=SC2086
livefs_root=$(find_livefs ${i})
if [ -n "${livefs_root}" ] printf "\e[92m[INFO] live() : Using preseeded [livefs_root=%s] skipping autodetect. \e[0m\n" "${livefs_root}"
then
break else
fi
### Scan local devices for the image.
i=0
while [ "${i}" -lt 60 ]; do
# shellcheck disable=SC2086
livefs_root=$(find_livefs ${i})
if [ -n "${livefs_root}" ]; then
break
fi
sleep 1
i=$((i + 1))
done
fi
sleep 1
i=$((i + 1))
done
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}"