diff --git a/setup/so-functions b/setup/so-functions index ae01527e4..578bad1b0 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -680,7 +680,7 @@ configure_ntp() { 'rtcsync' \ 'logdir /var/log/chrony' >> $chrony_conf - if [ "$OS" == 'rocky' ]; then + if [[ $is_rocky || $is_centos ]]; then systemctl enable chronyd systemctl restart chronyd elif [ "$OS" == 'ubuntu' ]; then