mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-21 14:42:20 +08:00
NSH now supports an MOTD string that will be presented after the greeting
This commit is contained in:
@@ -224,6 +224,12 @@ const char g_nshgreeting[] = "\nNuttShell (NSH) NuttX-" CONFIG_VERSION_STR
|
||||
const char g_nshgreeting[] = "\nNuttShell (NSH)\n";
|
||||
#endif
|
||||
|
||||
/* Fixed Message of the Day (MOTD) */
|
||||
|
||||
#if defined(CONFIG_NSH_MOTD) && !defined(CONFIG_NSH_PLATFORM_MOTD)
|
||||
const char g_nshmotd[] = CONFIG_NSH_MOTD_STRING;
|
||||
#endif
|
||||
|
||||
/* Telnet login prompts */
|
||||
|
||||
#if defined(CONFIG_NSH_TELNET_LOGIN) && defined(CONFIG_NSH_TELNET)
|
||||
|
Reference in New Issue
Block a user