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