diff --git a/Documentation/NuttShell.html b/Documentation/NuttShell.html index 21facc51ac2..89318909641 100644 --- a/Documentation/NuttShell.html +++ b/Documentation/NuttShell.html @@ -4021,7 +4021,7 @@ mount -t vfat /dev/ram1 /tmp
Modifying the ROMFS Image.
- The contents of the /etc directory are retained in the file apps/nshlib/nsh_romfsimg.h OR, if CONFIG_NSH_ARCHROMFS is defined, include/arch/board/rcs.template.
+ The contents of the /etc directory are retained in the file apps/nshlib/nsh_romfsimg.h OR, if CONFIG_NSH_ARCHROMFS is defined, include/arch/board/nsh_romfsimg.h.
In order to modify the start-up behavior, there are three things to study:
rcS.template.
The file apps/nshlib/rcS.template contains the general form of the rcS file; configured values are plugged into this template file to produce the final rcS file.
+
+ To generate a custom rcS file a copy of rcS.template needs to be placed at tools/ and changed according to the desired start-up behaviour.
+ Running tools/mkromfsimg.h creates nsh_romfsimg.h which needs to be copied to apps/nhslib OR if CONFIG_NSH_ARCHROMFS is defined to configs/<board>/include.
+