Update auto_post_install.sh

This commit is contained in:
MacRimi 2025-08-17 15:00:06 +02:00 committed by GitHub
parent c6f53629da
commit 5447f0e4df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -181,8 +181,9 @@ configure_time_sync() {
msg_ok "$(translate "Found timezone $timezone for IP $this_ip")"
fi
fi
msg_info "$(translate "Enabling automatic time synchronization...")"
timedatectl set-timezone "$timezone"
if timedatectl set-ntp true; then
msg_ok "$(translate "Time settings configured - Timezone:") $timezone"
register_tool "time_sync" true