mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-27 23:18:08 +02:00
[fix] Set ntp_string to empty, not ntp_servers
This commit is contained in:
+1
-1
@@ -489,7 +489,7 @@ collect_node_ls_pipeline_worker_count() {
|
|||||||
collect_ntp_servers() {
|
collect_ntp_servers() {
|
||||||
if [[ $is_airgap || "$NSMSETUP" = 'ADVANCED' || "$MANAGERADV" = 'ADVANCED' || -n $so_proxy ]]; then
|
if [[ $is_airgap || "$NSMSETUP" = 'ADVANCED' || "$MANAGERADV" = 'ADVANCED' || -n $so_proxy ]]; then
|
||||||
if whiptail_ntp_ask; then
|
if whiptail_ntp_ask; then
|
||||||
[[ $is_airgap ]] && ntp_servers=()
|
[[ $is_airgap ]] && ntp_string=""
|
||||||
whiptail_ntp_servers "$ntp_string"
|
whiptail_ntp_servers "$ntp_string"
|
||||||
|
|
||||||
while ! valid_ntp_list "$ntp_string"; do
|
while ! valid_ntp_list "$ntp_string"; do
|
||||||
|
|||||||
Reference in New Issue
Block a user