Move additional logic block to rc.vehicle_setup, add rc.vehicle_setup to init.d/CMakeLists.txt, and relocate sd card logic block higher up in rcS. (#9896)

This commit is contained in:
Mark Sauder
2018-07-12 16:45:19 -04:00
committed by Daniel Agar
parent 84d22fe0c6
commit 72de9a901d
3 changed files with 22 additions and 29 deletions
@@ -165,3 +165,12 @@ then
# Start standard UGV apps
sh /etc/init.d/rc.ugv_apps
fi
#
# Generic setup (autostart ID not found).
#
if [ $VEHICLE_TYPE == none ]
then
echo "No autostart ID found"
ekf2 start
fi