From 362af58f023d106fc41952f5aab034b0dba956d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20Juri=C5=A1i=C4=87?= Date: Mon, 19 Feb 2024 13:31:14 +0100 Subject: [PATCH] Fixed Time zone variable --- debian/settings/enable-ntp.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/settings/enable-ntp.sh b/debian/settings/enable-ntp.sh index 3bd14f3..229de08 100755 --- a/debian/settings/enable-ntp.sh +++ b/debian/settings/enable-ntp.sh @@ -57,11 +57,11 @@ check_deps_pkg echo -ne "\nEnable NTP and set Timezone for Croatia ? " if choice 2>/dev/null; then echo -ne "\nSetting NTP ...\n" - timedatectl set-timezone "$TIME_ZONE" + timedatectl set-timezone $TIME_ZONE timedatectl set-local-rtc 0 timedatectl set-ntp true systemctl restart systemd-timesyncd - + echo -ne "\nStatus of NTP\n" timedatectl status fi