Browse Source

Mark boot complete in all conditions, not just if autostart has been configured already.

sbg
Lorenz Meier 10 years ago
parent
commit
bdeca34830
  1. 18
      ROMFS/px4fmu_common/init.d/rcS

18
ROMFS/px4fmu_common/init.d/rcS

@ -702,18 +702,18 @@ then @@ -702,18 +702,18 @@ then
tone_alarm error
fi
# Boot is complete, inform MAVLink app(s) that the system is now fully up and running
mavlink boot_complete
# End of autostart
fi
if [ $EXIT_ON_END == yes ]
then
echo "Exit from nsh"
exit
fi
unset EXIT_ON_END
# Boot is complete, inform MAVLink app(s) that the system is now fully up and running
mavlink boot_complete
# End of autostart
if [ $EXIT_ON_END == yes ]
then
echo "Exit from nsh"
exit
fi
unset EXIT_ON_END
# There is no further processing, so we can free some RAM
# XXX potentially unset all script variables.

Loading…
Cancel
Save