Update debian-setup.sh

This commit is contained in:
Newnius 2024-11-22 06:19:45 +00:00
parent da8cba13d7
commit e958aa23c6

View File

@ -91,10 +91,10 @@ systemctl restart ssh
# install ntpdate # install ntpdate
echo "[INFO] Configuring time sync service" echo "[INFO] Configuring time sync service"
# from debian 12, ntp is replaced by ntpsec # 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 systemctl stop ntp
ntpdate pool.ntp.org
systemctl start ntp systemctl start ntp