Fixed Time zone variable
This commit is contained in:
parent
e538bdeb32
commit
362af58f02
2
debian/settings/enable-ntp.sh
vendored
2
debian/settings/enable-ntp.sh
vendored
@ -57,7 +57,7 @@ check_deps_pkg
|
|||||||
echo -ne "\nEnable NTP and set Timezone for Croatia ? "
|
echo -ne "\nEnable NTP and set Timezone for Croatia ? "
|
||||||
if choice 2>/dev/null; then
|
if choice 2>/dev/null; then
|
||||||
echo -ne "\nSetting NTP ...\n"
|
echo -ne "\nSetting NTP ...\n"
|
||||||
timedatectl set-timezone "$TIME_ZONE"
|
timedatectl set-timezone $TIME_ZONE
|
||||||
timedatectl set-local-rtc 0
|
timedatectl set-local-rtc 0
|
||||||
timedatectl set-ntp true
|
timedatectl set-ntp true
|
||||||
systemctl restart systemd-timesyncd
|
systemctl restart systemd-timesyncd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user