Fixed Time zone variable

This commit is contained in:
Ivan Jurišić 2024-02-19 13:31:14 +01:00
parent e538bdeb32
commit 362af58f02

View File

@ -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