Update 'debian-setup.sh'

This commit is contained in:
Newnius 2023-08-30 15:02:05 +00:00
parent ab17991fcc
commit 74b1d45e9e

View File

@ -90,7 +90,8 @@ systemctl restart ssh
# install ntpdate # install ntpdate
echo "[INFO] Configuring time sync service" echo "[INFO] Configuring time sync service"
apt install -y ntp ntpdate ntpstat # from debian 12, ntp is replaced by ntpsec
apt install -y ntpsec ntpdate ntpstat
systemctl stop ntp systemctl stop ntp
ntpdate pool.ntp.org ntpdate pool.ntp.org
@ -117,8 +118,8 @@ fi
#sysctl -p #sysctl -p
# Disable ufw # Disable ufw
systemctl stop ufw # systemctl stop ufw
systemctl disable ufw # systemctl disable ufw
# output # output