mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Fix whiptail logic
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user