From fe5ca3a0c8defeca2aa87682881c16d0ed1e3cef Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Mon, 17 Jul 2023 13:51:14 -0400 Subject: [PATCH] set palette after detecting os and before whiptail --- setup/so-setup | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/setup/so-setup b/setup/so-setup index 6476e32d3..60d9505df 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -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