From cc3c28135d99aa08d945f41197107cec0fb6d875 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Tue, 27 Jun 2023 12:53:18 -0400 Subject: [PATCH] Fix whiptail logic --- setup/so-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/so-functions b/setup/so-functions index 20a6e463b..b7878a882 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