From bfda7ebc21eb29302b9694b722d6ee9ecf55d7c7 Mon Sep 17 00:00:00 2001 From: Edi Septriyanto Date: Wed, 25 Dec 2019 23:53:33 +0700 Subject: [PATCH] unmask ntp.service unit --- scripts/install_dependencies.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install_dependencies.sh b/scripts/install_dependencies.sh index d90abce..b463ba5 100755 --- a/scripts/install_dependencies.sh +++ b/scripts/install_dependencies.sh @@ -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