Fix whiptail logic

This commit is contained in:
Mike Reeves
2023-06-27 12:53:18 -04:00
parent 6b6724afcf
commit cc3c28135d

View File

@@ -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