mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
Add configure flags to moderate the ClueCon nags
The default remains the same: we show the huge ClueCon nag banner on startup and in fs_cli. However, if you pass --disable-huge-cluecon-nag, no banner will be shown. If you pass --enable-modest-cluecon-nag, a modest text-based ClueCon reminder will be shown instead.
This commit is contained in:
@@ -2002,12 +2002,16 @@ SWITCH_DECLARE(switch_status_t) switch_core_init_and_modload(switch_core_flag_t
|
||||
|
||||
#ifdef WIN32
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "%s%s\n\n", switch_core_banner(), cc);
|
||||
#else
|
||||
#elif SHOW_HUGE_CLUECON_NAG
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "%s%s%s%s%s%s\n\n",
|
||||
SWITCH_SEQ_DEFAULT_COLOR,
|
||||
SWITCH_SEQ_FYELLOW, SWITCH_SEQ_BBLUE,
|
||||
switch_core_banner(),
|
||||
cc, SWITCH_SEQ_DEFAULT_COLOR);
|
||||
#else
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "%s%s%s\n\n",
|
||||
SWITCH_SEQ_DEFAULT_COLOR,
|
||||
switch_core_banner(), cc);
|
||||
#endif
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user