From 7f7bc7057ccb80f70a4fa238f373c7ab42b5e173 Mon Sep 17 00:00:00 2001 From: Thierry Laurion Date: Sat, 7 Sep 2024 16:19:17 -0400 Subject: [PATCH] init: add export BG_COLOR_MAIN_MENU="normal" so that media-scan, config-gui and others can still be called from command line without passing from gui-init which was sole exporter of it Signed-off-by: Thierry Laurion --- initrd/init | 2 ++ 1 file changed, 2 insertions(+) diff --git a/initrd/init b/initrd/init index a33e601c..55a894a7 100755 --- a/initrd/init +++ b/initrd/init @@ -105,9 +105,11 @@ fi if [ -x /bin/fbwhiptail ]; then export BG_COLOR_WARNING="${CONFIG_WARNING_BG_COLOR:-"--background-gradient 0 0 0 150 125 0"}" export BG_COLOR_ERROR="${CONFIG_ERROR_BG_COLOR:-"--background-gradient 0 0 0 150 0 0"}" + export BG_COLOR_MAIN_MENU="normal" else export TEXT_BG_COLOR_WARNING="${CONFIG_WARNING_TEXT_BG_COLOR:-"yellow"}" export TEXT_BG_COLOR_ERROR="${CONFIG_ERROR_TEXT_BG_COLOR:-"red"}" + export BG_COLOR_MAIN_MENU="normal" fi if [ "$CONFIG_TPM" = "y" ]; then