Skip to content

Commit ebba590

Browse files
authored
Merge pull request #1787 from tlaurion/fix-whiptail_not_whowing_if_not_called_from_gui-init
init: add export BG_COLOR_MAIN_MENU="normal" so that media-scan, confiig-gui flash-gui etc can be called from Recovery shell
2 parents ca9bfb2 + 7f7bc70 commit ebba590

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

initrd/init

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,11 @@ fi
105105
if [ -x /bin/fbwhiptail ]; then
106106
export BG_COLOR_WARNING="${CONFIG_WARNING_BG_COLOR:-"--background-gradient 0 0 0 150 125 0"}"
107107
export BG_COLOR_ERROR="${CONFIG_ERROR_BG_COLOR:-"--background-gradient 0 0 0 150 0 0"}"
108+
export BG_COLOR_MAIN_MENU="normal"
108109
else
109110
export TEXT_BG_COLOR_WARNING="${CONFIG_WARNING_TEXT_BG_COLOR:-"yellow"}"
110111
export TEXT_BG_COLOR_ERROR="${CONFIG_ERROR_TEXT_BG_COLOR:-"red"}"
112+
export BG_COLOR_MAIN_MENU="normal"
111113
fi
112114

113115
if [ "$CONFIG_TPM" = "y" ]; then

0 commit comments

Comments
 (0)