forked from Archive/PX4-Autopilot
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
|
||||
#
|
||||
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…
Reference in New Issue