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