V8.13.440.2025.11.19
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 3m29s
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:
@@ -109,22 +109,33 @@ Live ()
|
||||
done
|
||||
unset IFS
|
||||
|
||||
# Scan local devices for the image
|
||||
i=0
|
||||
while [ "${i}" -lt 60 ]
|
||||
do
|
||||
# shellcheck disable=SC2086
|
||||
livefs_root=$(find_livefs ${i})
|
||||
### Skip autodetection, '$livefs_root' was pre-seeded by '0024-ciss-crypt-squash'. ---------------------------------------
|
||||
if [ -n "${livefs_root:-}" ]; then
|
||||
|
||||
if [ -n "${livefs_root}" ]
|
||||
then
|
||||
break
|
||||
fi
|
||||
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
|
||||
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
|
||||
|
||||
printf "\e[93m[DEBUG] live(): [%s] -> livefs_root. \e[0m\n" "${livefs_root}"
|
||||
|
||||
Reference in New Issue
Block a user