mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 02:02:50 +01:00
[fix] patch_schedule should not be local
This commit is contained in:
@@ -1064,18 +1064,15 @@ whiptail_patch_schedule() {
|
|||||||
|
|
||||||
[ -n "$TESTING" ] && return
|
[ -n "$TESTING" ] && return
|
||||||
|
|
||||||
local patch_schedule
|
|
||||||
patch_schedule=$(whiptail --title "Security Onion Setup" --radiolist \
|
patch_schedule=$(whiptail --title "Security Onion Setup" --radiolist \
|
||||||
"Choose OS patch schedule: \nThis will NOT update Security Onion related tools such as Zeek, Elasticsearch, Kibana, SaltStack, etc." 15 75 5 \
|
"Choose OS patch schedule: \nThis will NOT update Security Onion related tools such as Zeek, Elasticsearch, Kibana, SaltStack, etc." 15 75 5 \
|
||||||
"Automatic" "Updates installed every 8 hours if available" ON \
|
"Automatic" "Updates installed every 8 hours if available" ON \
|
||||||
"Manual" "Updates will be installed manually" OFF \
|
"Manual" "Updates will be installed manually" OFF \
|
||||||
"Import Schedule" "Import named schedule on following screen" OFF \
|
"Import Schedule" "Import named schedule on following screen" OFF \
|
||||||
"New Schedule" "Configure and name new schedule on next screen" OFF 3>&1 1>&2 2>&3 )
|
"New Schedule" "Configure and name new schedule on next screen" OFF 3>&1 1>&2 2>&3 )
|
||||||
|
|
||||||
local exitstatus=$?
|
local exitstatus=$?
|
||||||
whiptail_check_exitstatus $exitstatus
|
whiptail_check_exitstatus $exitstatus
|
||||||
|
|
||||||
export patch_schedule
|
|
||||||
}
|
}
|
||||||
|
|
||||||
whiptail_patch_schedule_import() {
|
whiptail_patch_schedule_import() {
|
||||||
|
|||||||
Reference in New Issue
Block a user