xiaoxiang781216 commented on code in PR #1330:
URL:
https://github.com/apache/incubator-nuttx-apps/pull/1330#discussion_r984166538
##########
nshlib/Kconfig:
##########
@@ -857,13 +832,75 @@ config NSH_FATMOUNTPT
will mount a FAT FS under /tmp. This is the location where the
FAT
FS will be mounted. Default is "/tmp".
+endif # NSH_ROMFSETC
+
+config NSH_RUNSYSINITSCRIPT
+ bool "Run a sysinit script"
+ default n
+ select NSH_AUTOSCRIPTS
+
+if NSH_RUNSYSINITSCRIPT
+
+config NSH_SYSINITSCRIPT
+ string "Path to sysinit script"
+ default "/etc/init.d/rc.sysinit"
+ ---help---
+ This is the path to the sysinit script executed by nsh at boot.
+ The default is init.d/rc.sysinit. This script can be in a ROMFS
mounted
+ by NSH or in any other filesystem that was mounted by the board
logic.
+
+endif
+
+config NSH_RUNINITSCRIPT
+ bool "Run a startup script"
+ default n
Review Comment:
please change ALL indent in Kconfig from space to tab
##########
nshlib/Kconfig:
##########
@@ -857,13 +832,75 @@ config NSH_FATMOUNTPT
will mount a FAT FS under /tmp. This is the location where the
FAT
FS will be mounted. Default is "/tmp".
+endif # NSH_ROMFSETC
+
+config NSH_RUNSYSINITSCRIPT
Review Comment:
the new option will break all config
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]