unmask ntp.service unit

This commit is contained in:
Edi Septriyanto
2019-12-25 23:53:33 +07:00
parent 0cde172dae
commit bfda7ebc21

View File

@@ -56,6 +56,8 @@ if [[ -n ${TIMEZONE} && ${TIMEZONE} != "none" ]]; then
fi
# Update local time.
# Masked (?).
run systemctl unmask ntp.service
run service ntp stop
run ntpdate -s cn.pool.ntp.org
run service ntp start