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

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-07-16 23:25:32 +02:00
parent fe62d8cd0f
commit 81bcb407fd
31 changed files with 249 additions and 39 deletions

View File

@@ -20,12 +20,11 @@ guard_sourcing
# Arguments:
# None
# Returns:
# 0: Successfully executed commands.
# 0: on success
#######################################
setup_timezone() {
# shellcheck disable=SC2154 # "${ntp_timezone}"
do_in_target "${TARGET}" ln -sf "/usr/share/zoneinfo/${ntp_timezone}" /etc/localtime
do_in_target "${TARGET}" /bin/bash -c "echo ${ntp_timezone} | tee /etc/timezone"
do_in_target_script "${TARGET}" "echo ${ntp_timezone} | tee /etc/timezone"
do_in_target "${TARGET}" dpkg-reconfigure -f noninteractive tzdata
return 0
}