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
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
ntpdate pool.ntp.org
@ -117,8 +118,8 @@ fi
#sysctl -p
# Disable ufw
systemctl stop ufw
systemctl disable ufw
# systemctl stop ufw
# systemctl disable ufw
# output