]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
come to cluecon will ya
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 6 Jul 2012 22:53:44 +0000 (17:53 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 6 Jul 2012 22:54:21 +0000 (17:54 -0500)
src/include/cc.h [new file with mode: 0644]
src/switch_core.c

diff --git a/src/include/cc.h b/src/include/cc.h
new file mode 100644 (file)
index 0000000..573a7f7
--- /dev/null
@@ -0,0 +1,3 @@
+
+const char *cc = "\e[01;44;33m\n.========================================================================================================.\n|    ____                       _____        ____ _             ____              _ _ ____               |\n|   / ___|___  _ __ ___   ___  |_   _|__    / ___| |_   _  ___ / ___|___  _ __   ( ) |___ \\              |\n|  | |   / _ \\| '_ ` _ \\ / _ \\   | |/ _ \\  | |   | | | | |/ _ \\ |   / _ \\| '_ \\  |/| | __) |             |\n|  | |__| (_) | | | | | |  __/   | | (_) | | |___| | |_| |  __/ |__| (_) | | | |   | |/ __/              |\n|   \\____\\___/|_| |_| |_|\\___|   |_|\\___/   \\____|_|\\__,_|\\___|\\____\\___/|_| |_|   |_|_____|             |\n|                                                                                                        |\n|    ____ _     _                              _   _ ____    _                                           |\n|   / ___| |__ (_) ___ __ _  __ _  ___        | | | / ___|  / \\                                          |\n|  | |   | '_ \\| |/ __/ _` |/ _` |/ _ \\       | | | \\___ \\ / _ \\                                         |\n|  | |___| | | | | (_| (_| | (_| | (_) |  _   | |_| |___) / ___ \\                                        |\n|   \\____|_| |_|_|\\___\\__,_|\\__, |\\___/  ( )   \\___/|____/_/   \\_\\                                       |\n|                           |___/        |/                                                              |\n|      _                         _     _____ _   _                ___  _   _       ____   ___  _ ____    |\n|     / \\  _   _  __ _ _   _ ___| |_  |___  | |_| |__            / _ \\| |_| |__   |___ \\ / _ \\/ |___ \\   |\n|    / _ \\| | | |/ _` | | | / __| __|    / /| __| '_ \\   _____  | (_) | __| '_ \\    __) | | | | | __) |  |\n|   / ___ \\ |_| | (_| | |_| \\__ \\ |_    / / | |_| | | | |_____|  \\__, | |_| | | |  / __/| |_| | |/ __/   |\n|  /_/   \\_\\__,_|\\__, |\\__,_|___/\\__|  /_/   \\__|_| |_|            /_/ \\__|_| |_| |_____|\\___/|_|_____|  |\n|                |___/                                                                                   |\n|                                           _                                                            |\n|  __      ____      ____      __       ___| |_   _  ___  ___ ___  _ __         ___ ___  _ __ ___        |\n|  \\ \\ /\\ / /\\ \\ /\\ / /\\ \\ /\\ / /      / __| | | | |/ _ \\/ __/ _ \\| '_ \\       / __/ _ \\| '_ ` _ \\       |\n|   \\ V  V /  \\ V  V /  \\ V  V /   _  | (__| | |_| |  __/ (_| (_) | | | |  _  | (_| (_) | | | | | |      |\n|    \\_/\\_/    \\_/\\_/    \\_/\\_/   (_)  \\___|_|\\__,_|\\___|\\___\\___/|_| |_| (_)  \\___\\___/|_| |_| |_|      |\n|                                                                                                        |\n.========================================================================================================.\n\e[0m\n";
+
index 357f7d09cfb55afddad4d379dcabc70f36185de7..a0f8526813207040abacb184080f1590f1c5819f 100644 (file)
@@ -1897,7 +1897,6 @@ static void switch_load_core_config(const char *file)
 SWITCH_DECLARE(const char *) switch_core_banner(void)
 {
 
-
        return ("\n"
                        "   _____              ______        _____ _____ ____ _   _  \n"
                        "  |  ___| __ ___  ___/ ___\\ \\      / /_ _|_   _/ ___| | | | \n"
@@ -1909,7 +1908,8 @@ SWITCH_DECLARE(const char *) switch_core_banner(void)
                        "* Anthony Minessale II, Michael Jerris, Brian West, Others *\n"
                        "* FreeSWITCH (http://www.freeswitch.org)                   *\n"
                        "* Paypal Donations Appreciated: paypal@freeswitch.org      *\n"
-                       "* Brought to you by ClueCon http://www.cluecon.com/        *\n" "************************************************************\n" "\n");
+                       "* Brought to you by ClueCon http://www.cluecon.com/        *\n" "************************************************************\n" 
+                       "\n");
 }
 
 
@@ -1917,6 +1917,8 @@ SWITCH_DECLARE(switch_status_t) switch_core_init_and_modload(switch_core_flag_t
 {
        switch_event_t *event;
        char *cmd;
+#include "cc.h"
+
 
        if (switch_core_init(flags, console, err) != SWITCH_STATUS_SUCCESS) {
                return SWITCH_STATUS_GENERR;
@@ -1951,7 +1953,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_init_and_modload(switch_core_flag_t
                switch_event_fire(&event);
        }
 
-       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "%s", switch_core_banner());
+       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "%s%s", switch_core_banner(), cc);
 
 
        switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE,