mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 08:38:36 -04:00
PX4: implement APM/nostart in rcS
this keeps the same shell on nostart, avoiding relying on nshterm
This commit is contained in:
parent
1c1e7ed414
commit
50cc6b5445
@ -77,7 +77,7 @@ fi
|
||||
|
||||
# if this is an APM build then there will be a rc.APM script
|
||||
# from an EXTERNAL_SCRIPTS build option
|
||||
if [ -f /etc/init.d/rc.APM -a $HAVE_MICROSD == 1 ]
|
||||
if [ -f /etc/init.d/rc.APM -a $HAVE_MICROSD == 1 -a ! -f /fs/microsd/APM/nostart ]
|
||||
then
|
||||
echo Running rc.APM
|
||||
# if APM startup is successful then nsh will exit
|
||||
|
Loading…
Reference in New Issue
Block a user