mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-20 11:39:07 +08:00
Don’t try to find autostart script if SYS_AUTOSTART = 0
This commit is contained in:
parent
f3a3d62cf9
commit
2e11992992
@ -186,7 +186,12 @@ then
|
||||
#
|
||||
# Set parameters and env variables for selected AUTOSTART
|
||||
#
|
||||
sh /etc/init.d/rc.autostart
|
||||
if param compare SYS_AUTOSTART 0
|
||||
then
|
||||
echo "[init] Don't try to find autostart script"
|
||||
else
|
||||
sh /etc/init.d/rc.autostart
|
||||
fi
|
||||
|
||||
#
|
||||
# Override parameters from user configuration file
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user