mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
[fix] Set percentage value when needed
This commit is contained in:
@@ -27,6 +27,8 @@ original_args=("$@")
|
|||||||
|
|
||||||
cd "$(dirname "$0")" || exit 255
|
cd "$(dirname "$0")" || exit 255
|
||||||
|
|
||||||
|
echo "Getting started..."
|
||||||
|
|
||||||
# Source the generic function libraries that are also used by the product after
|
# Source the generic function libraries that are also used by the product after
|
||||||
# setup. These functions are intended to be reusable outside of the setup process.
|
# setup. These functions are intended to be reusable outside of the setup process.
|
||||||
source ../salt/common/tools/sbin/so-common
|
source ../salt/common/tools/sbin/so-common
|
||||||
@@ -272,6 +274,7 @@ fi
|
|||||||
if [[ $is_airgap != true ]]; then
|
if [[ $is_airgap != true ]]; then
|
||||||
collect_proxy
|
collect_proxy
|
||||||
fi
|
fi
|
||||||
|
percentage=0
|
||||||
{
|
{
|
||||||
installer_progress_loop & # Run progress bar to 100 in ~8 minutes
|
installer_progress_loop & # Run progress bar to 100 in ~8 minutes
|
||||||
progress_bg_proc=$!
|
progress_bg_proc=$!
|
||||||
|
|||||||
Reference in New Issue
Block a user