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
cho "[init] 30_io_camflyer: PX4FMU+PX4IO on Camflyer"
echo "[init] 30_io_camflyer: PX4FMU+PX4IO on Camflyer"
#
# Load default params for this platform
@@ -49,6 +49,11 @@ px4io limit 100
# Start the sensors (depends on orb, px4io)
#
sh /etc/init.d/rc.sensors
#
# Start logging (depends on sensors)
#
sh /etc/init.d/rc.logging
#
# Start GPS interface (depends on orb)
@@ -64,4 +69,4 @@ kalman_demo start
# Load mixer and start controllers (depends on px4io)
#
mixer load /dev/pwm_output /etc/mixers/FMU_Q.mix
control_demo start
fw_att_control start
+6 -1
View File
@@ -44,6 +44,11 @@ commander start
# Start the sensors
#
sh /etc/init.d/rc.sensors
#
# Start logging (depends on sensors)
#
sh /etc/init.d/rc.logging
#
# Start GPS interface
@@ -59,4 +64,4 @@ kalman_demo start
# Load mixer and start controllers (depends on px4io)
#
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
#
# Start logging (depends on sensors)
#
sh /etc/init.d/rc.logging
#
# Start the commander.
#
+3 -8
View File
@@ -103,11 +103,9 @@ then
blinkm systemstate
fi
fi
#
# Start logging
#
sh /etc/init.d/rc.logging
# Try to get an USB console
nshterm /dev/ttyACM0 &
#
# Check if PX4IO Firmware should be upgraded (from Andrew Tridgell)
@@ -183,9 +181,6 @@ then
set MODE custom
fi
# Try to get an USB console
nshterm /dev/ttyACM0 &
# Start any custom extensions that might be missing
if [ -f /fs/microsd/etc/rc.local ]
then