Fix whiptail logic

This commit is contained in:
Mike Reeves
2023-06-27 12:53:18 -04:00
parent 1cbe5580a6
commit bdb5748b44

View File

@@ -680,7 +680,7 @@ configure_ntp() {
'rtcsync' \ 'rtcsync' \
'logdir /var/log/chrony' >> $chrony_conf 'logdir /var/log/chrony' >> $chrony_conf
if [ "$OS" == 'rocky' ]; then if [[ $is_rocky || $is_centos ]]; then
systemctl enable chronyd systemctl enable chronyd
systemctl restart chronyd systemctl restart chronyd
elif [ "$OS" == 'ubuntu' ]; then elif [ "$OS" == 'ubuntu' ]; then