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

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-09-03 14:23:36 +02:00
parent de967d4b24
commit 4a41c0c954

View File

@@ -326,9 +326,7 @@ trap_on_err() {
trap - ERR INT TERM
stty echo
print_scr_err "${errcode}" "${errscrt}" "${errline}" "${errfunc}" "${errcmmd}"
# TODO: DEBUGGER
drop_bash
#power_off 16
power_off 16
}
#######################################
@@ -344,9 +342,7 @@ trap_on_term() {
stty echo
printf "%s" "${NL}"
color_echo "${RED}" "✘ Received termination signal. System Power Off in 3 seconds." >&2
# TODO: DEBUGGER
drop_bash
#power_off 3
power_off 3
}
#######################################
@@ -421,7 +417,7 @@ main() {
color_echo "${RED}" "Coresecret Connection established."
color_echo "${RED}" "Starting Time: ${CURRENTDATE}"
#color_echo "${MAG}" "Integrity self-check ..."
color_echo "${MAG}" "Integrity self-check ..."
printf "%b" "${NL}"
#verify_script
@@ -447,10 +443,7 @@ main() {
if printf "%s" "${PASSPHRASE}" | cryptroot-unlock; then
secure_unset_pass
# TODO: DEBUGGER
echo "Inside if printf %s '${PASSPHRASE}' | cryptroot-unlock; then"
#drop_bash
sleep 60
exit 0
else