Update debian-setup.sh
This commit is contained in:
parent
da8cba13d7
commit
e958aa23c6
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user