hello, Did you enable NSH_DISABLESCRIPT option in apps/nshlib/Kconfig, that depends on DEFAULT_SMALL as default. If DEFAULT_SMALL is disabled, nsh do not autostart rcS startup-script.
But I don't have any idea why output that "init: open failed: 2". Can you give me some hints? Regards, Xinyong Simon Filgis <si...@ingenieurbuero-filgis.de> 于2024年11月14日周四 15:10写道: > Dear all, > > I have a board with rcS startup-script and etc/init.d automount. > > After updating nuttx it does not work any more. > > https://github.com/apache/nuttx/pull/11498 > https://github.com/apache/nuttx/pull/11572 > > Following the guidance in the PR I was able to have my rsS script again > automated. And I can run it from nsh with ". rcS". > > But it is not autostarting any more. Before nsh there is the following > output: > "init: open failed: 2" > > Does anybody have a thought about this? > > Regards, > > Simon > > > -- > Hard- and Softwaredevelopment Consultant > > Geschäftsführung: Simon Filgis > USt-IdNr.: DE305343278 > ISO9001:2015 <https://activities.ingenieurbuero-filgis.de/certifications> >