we don't want to update the ntp config on our stratum1 ntp server

This commit is contained in:
2025-07-02 20:07:36 -05:00
parent 24946292e7
commit 52e8ecf779

View File

@ -251,9 +251,17 @@ function global-postPackageConfiguration() {
systemctl stop rsyslog
systemctl start rsyslog
export NTP_SERVER_CHECK
NTP_SERVER_CHECK="$(hostname |grep -c pfvsvrpi ||true)"
if [ "$NTP_SERVER_CHECK" -eq 0 ]; then
cat ./ConfigFiles/NTP/ntp.conf > /etc/ntpsec/ntp.conf
systemctl restart ntpsec.service
fi
systemctl stop postfix
systemctl start postfix