system:nsh : Apply CONFIG_NSH_DISABLE_TELNETSTART to nsh_main.c
Summary: - This commit applies CONFIG_NSH_DISABLE_TELNETSTART to nsh_main.c Impact: - None Testing: - Tested with sabre-6quad:netknsh (will be updated later) Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
parent
a86315050d
commit
41fe4f177a
@ -127,7 +127,8 @@ int main(int argc, FAR char *argv[])
|
||||
|
||||
nsh_initialize();
|
||||
|
||||
#if defined(CONFIG_NSH_TELNET) && !defined(CONFIG_NETINIT_NETLOCAL)
|
||||
#if defined(CONFIG_NSH_TELNET) && !defined(CONFIG_NSH_DISABLE_TELNETSTART) && \
|
||||
!defined(CONFIG_NETINIT_NETLOCAL)
|
||||
/* If the Telnet console is selected as a front-end, then start the
|
||||
* Telnet daemon UNLESS network initialization is deferred via
|
||||
* CONFIG_NETINIT_NETLOCAL. In that case, the telnet daemon must be
|
||||
|
Loading…
Reference in New Issue
Block a user