From e958aa23c6b967d6f163ddf90a726ba9009a2532 Mon Sep 17 00:00:00 2001 From: Newnius Date: Fri, 22 Nov 2024 06:19:45 +0000 Subject: [PATCH] Update debian-setup.sh --- debian-setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian-setup.sh b/debian-setup.sh index 6bac602..1c3275e 100644 --- a/debian-setup.sh +++ b/debian-setup.sh @@ -91,10 +91,10 @@ systemctl restart ssh # install ntpdate echo "[INFO] Configuring time sync service" # from debian 12, ntp is replaced by ntpsec -apt install -y ntpsec ntpdate ntpstat +sudo apt remove ntpdate +apt install -y ntpsec ntpstat systemctl stop ntp -ntpdate pool.ntp.org systemctl start ntp