mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-06-23 02:38:09 +02:00
[feat] Add timeout for salt services to stop during reinstall init
This commit is contained in:
@@ -1175,6 +1175,19 @@ whiptail_sensor_config() {
|
||||
|
||||
}
|
||||
|
||||
whiptail_service_stop_failed() {
|
||||
local service=$1
|
||||
|
||||
read -r -d '' message <<- EOM
|
||||
The ${service} service could not be stopped. Please stop it manually and then re-run setup.
|
||||
|
||||
Press ENTER to exit the installer.
|
||||
EOM
|
||||
|
||||
whiptail --title "Security Onion Setup" --msgbox "$message" 10 75
|
||||
exit 1
|
||||
}
|
||||
|
||||
whiptail_set_hostname() {
|
||||
|
||||
[ -n "$TESTING" ] && return
|
||||
|
||||
Reference in New Issue
Block a user