dloader: Add a new option for color loader, "fred_is_blue"
[dragonfly.git] / sys / boot / dloader / cmds.c
index 995ecb7..be30a85 100644 (file)
@@ -473,6 +473,24 @@ static char *logo_color[LOGO_LINES] = {
        "\e[31m               `,'               \e[0m",
        "                                 " };
 
+static char *logo_indigo[LOGO_LINES] = {
+       "\e[36m ,--,                       ,--\e[36;1m, \e[0m",
+       "\e[36m |   `-,       \e[34;1m_\e[34m:\e[34;1m_\e[36m       ,-'   \e[36;1m| \e[0m",
+       "\e[36m  `,    `-,   \e[34;1m(\e[34m/ \\\e[34;1m)\e[36m   ,-'    \e[36;1m,'  \e[0m",
+       "\e[36m    `-,    `-,\e[34m/   \\\e[36m,-'    \e[36;1m,-'    \e[0m",
+       "\e[36m       `------\e[34m{   }\e[36m------\e[36;1m'       \e[0m",
+       "\e[36m   ,----------\e[34m{   }\e[36m----------\e[36;1m,   \e[0m",
+       "\e[36m  |        \e[36;1m_,-\e[34m{   }\e[36m-,_        \e[36;1m|  \e[0m",
+       "\e[36m   `-,__\e[36;1m,-'   \e[34m\\   /\e[36m   `-,__\e[36;1m,-'   \e[0m",
+       "\e[34m               | |               \e[0m",
+       "\e[34m               | |               \e[0m",
+       "\e[34m               | |               \e[0m",
+       "\e[34m               | |               \e[0m",
+       "\e[34m               | |               \e[0m",
+       "\e[34m               | |               \e[0m",
+       "\e[34m               `,'               \e[0m",
+       "                                 " };
+
 static char *logo_mono[LOGO_LINES] =  {
        " ,--,                       ,--, ",
        " |   `-,       _:_       ,-'   | ",
@@ -527,6 +545,9 @@ menu_display(void)
        if (dvar_istrue(dvar_get("fred_on_left")))
                logo_left = 1;
 
+       if (dvar_istrue(dvar_get("fred_is_blue")))
+               logo = logo_indigo;
+
        if (dvar_istrue(dvar_get("fred_separated")))
                separated = 1;