Startup scripts fixup, fixed unmatched dependencies

This commit is contained in:
Lorenz Meier
2013-08-26 11:53:52 +02:00
parent c5731bbc3f
commit dfde02c825
4 changed files with 21 additions and 11 deletions
+7 -2
View File
@@ -1,6 +1,6 @@
#!nsh #!nsh
cho "[init] 30_io_camflyer: PX4FMU+PX4IO on Camflyer" echo "[init] 30_io_camflyer: PX4FMU+PX4IO on Camflyer"
# #
# Load default params for this platform # Load default params for this platform
@@ -50,6 +50,11 @@ px4io limit 100
# #
sh /etc/init.d/rc.sensors sh /etc/init.d/rc.sensors
#
# Start logging (depends on sensors)
#
sh /etc/init.d/rc.logging
# #
# Start GPS interface (depends on orb) # Start GPS interface (depends on orb)
# #
@@ -64,4 +69,4 @@ kalman_demo start
# Load mixer and start controllers (depends on px4io) # Load mixer and start controllers (depends on px4io)
# #
mixer load /dev/pwm_output /etc/mixers/FMU_Q.mix mixer load /dev/pwm_output /etc/mixers/FMU_Q.mix
control_demo start fw_att_control start
+6 -1
View File
@@ -45,6 +45,11 @@ commander start
# #
sh /etc/init.d/rc.sensors sh /etc/init.d/rc.sensors
#
# Start logging (depends on sensors)
#
sh /etc/init.d/rc.logging
# #
# Start GPS interface # Start GPS interface
# #
@@ -59,4 +64,4 @@ kalman_demo start
# Load mixer and start controllers (depends on px4io) # Load mixer and start controllers (depends on px4io)
# #
mixer load /dev/pwm_output /etc/mixers/FMU_Q.mix mixer load /dev/pwm_output /etc/mixers/FMU_Q.mix
control_demo start fw_att_control start
+5
View File
@@ -8,6 +8,11 @@
# #
sh /etc/init.d/rc.sensors sh /etc/init.d/rc.sensors
#
# Start logging (depends on sensors)
#
sh /etc/init.d/rc.logging
# #
# Start the commander. # Start the commander.
# #
+2 -7
View File
@@ -104,10 +104,8 @@ then
fi fi
fi fi
# # Try to get an USB console
# Start logging nshterm /dev/ttyACM0 &
#
sh /etc/init.d/rc.logging
# #
# Check if PX4IO Firmware should be upgraded (from Andrew Tridgell) # Check if PX4IO Firmware should be upgraded (from Andrew Tridgell)
@@ -183,9 +181,6 @@ then
set MODE custom set MODE custom
fi fi
# Try to get an USB console
nshterm /dev/ttyACM0 &
# Start any custom extensions that might be missing # Start any custom extensions that might be missing
if [ -f /fs/microsd/etc/rc.local ] if [ -f /fs/microsd/etc/rc.local ]
then then