mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
set palette after detecting os and before whiptail
This commit is contained in:
@@ -64,6 +64,10 @@ done
|
||||
|
||||
# Let's see what OS we are dealing with here
|
||||
detect_os
|
||||
|
||||
# Ubuntu/Debian whiptail pallete to make it look the same as CentOS and Rocky.
|
||||
set_palette >> $setup_log 2>&1
|
||||
|
||||
if [[ $not_supported ]]; then
|
||||
if (whiptail_unsupported_os_warning); then
|
||||
true
|
||||
@@ -255,9 +259,6 @@ local_sbin="$(pwd)/../salt/common/tools/sbin"
|
||||
manager_sbin="$(pwd)/../salt/manager/tools/sbin"
|
||||
export PATH=$PATH:$local_sbin:$manager_sbin
|
||||
|
||||
# Ubuntu/Debian whiptail pallete to make it look the same as CentOS and Rocky.
|
||||
set_palette >> $setup_log 2>&1
|
||||
|
||||
# Kernel messages can overwrite whiptail screen #812
|
||||
# https://github.com/Security-Onion-Solutions/securityonion/issues/812
|
||||
dmesg -D
|
||||
|
||||
Reference in New Issue
Block a user