Add support for a login script (in addition to the init script); Add logic so that a USB console session can connect and reconnect to the USB serial device

git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5582 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2013-01-29 22:11:04 +00:00
parent 6ebd56f299
commit 7f22c14077
11 changed files with 735 additions and 218 deletions
+6 -1
View File
@@ -495,5 +495,10 @@
* apps/examples/nettest and poll: Complete Kconfig files.
* apps/examples/ostest/waitpid.c: Need to use WEXITSTATUS()
to decode the correct exit status.
* system/usbmonitor: A daemon that can be used to monitor USB
* apps/system/usbmonitor: A daemon that can be used to monitor USB
trace outpout.
* apps/nshlib/nsh_usbdev.c, nsh_consolemain.c, nsh_session.c, nsh_script.c:
Add support for a login script. The init.d/rcS script will be executed
once when NSH starts; the .nshrc script will be executed for each session:
Once for serial, once for each USB connection, once for each Telnet
session.