Ernesto Nicolás Carrea 5 лет назад
Родитель
Сommit
1c2e88cd23
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      install/hst-install-centos.sh

+ 2 - 2
install/hst-install-centos.sh

@@ -802,12 +802,12 @@ service iptables stop
 service firewalld stop >/dev/null 2>&1
 
 # Configuring NTP synchronization
-if [ "$codename" = "CentOS_7" ]; then
+if [ "$codename" = "rhel_7" ]; then
     echo '#!/bin/sh' > /etc/cron.daily/ntpdate
     echo "$(which ntpdate) -s pool.ntp.org" >> /etc/cron.daily/ntpdate
     chmod 775 /etc/cron.daily/ntpdate
     ntpdate -s pool.ntp.org
-elif [ "$codename" = "CentOS_8" ]; then
+elif [ "$codename" = "rhel_7" ]; then
     systemctl enable --now chronyd
 fi