mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-15 13:42:48 +01:00
Fix reinstall logic
This commit is contained in:
@@ -141,7 +141,6 @@ if [[ -f /root/accept_changes ]]; then
|
||||
info "Old setup detected. Moving the last setup.log to setup.log.bak"
|
||||
mv "$setup_log" "$setup_log.bak"
|
||||
[ -f "$error_log" ] && mv "$error_log" "$error_log.bak"
|
||||
source ./so-variables
|
||||
reinstall_init
|
||||
fi
|
||||
|
||||
@@ -472,6 +471,7 @@ if ! [[ -f $install_opt_file ]]; then
|
||||
|
||||
if [[ $waitforstate ]]; then
|
||||
touch /root/accept_changes
|
||||
make_some_dirs
|
||||
percentage=0
|
||||
es_heapsize
|
||||
ls_heapsize
|
||||
|
||||
Reference in New Issue
Block a user