Merge pull request #734 from thomasgubler/rcs_defaultappsflag

rcS: introduce flag that allows disabling startup of the default apps
This commit is contained in:
Lorenz Meier
2014-03-14 18:11:46 +01:00
+7
View File
@@ -118,6 +118,7 @@ then
set MKBLCTRL_MODE none set MKBLCTRL_MODE none
set FMU_MODE pwm set FMU_MODE pwm
set MAV_TYPE none set MAV_TYPE none
set LOAD_DEFAULT_APPS yes
# #
# Set DO_AUTOCONFIG flag to use it in AUTOSTART scripts # Set DO_AUTOCONFIG flag to use it in AUTOSTART scripts
@@ -465,8 +466,11 @@ then
sh /etc/init.d/rc.interface sh /etc/init.d/rc.interface
# Start standard fixedwing apps # Start standard fixedwing apps
if [ LOAD_DEFAULT_APPS == yes ]
then
sh /etc/init.d/rc.fw_apps sh /etc/init.d/rc.fw_apps
fi fi
fi
# #
# Multicopters setup # Multicopters setup
@@ -521,8 +525,11 @@ then
sh /etc/init.d/rc.interface sh /etc/init.d/rc.interface
# Start standard multicopter apps # Start standard multicopter apps
if [ LOAD_DEFAULT_APPS == yes ]
then
sh /etc/init.d/rc.mc_apps sh /etc/init.d/rc.mc_apps
fi fi
fi
# #
# Generic setup (autostart ID not found) # Generic setup (autostart ID not found)