VRBRAIN: added automatic update of bootloader from SD at startup

This commit is contained in:
LukeMike 2014-06-19 17:21:45 +02:00 committed by Emile Castelnuovo
parent efd407b56e
commit 3adb04dd71
3 changed files with 21 additions and 0 deletions

View File

@ -68,6 +68,13 @@ fi
if [ $HAVE_MICROSD == 1 ]
then
if [ -f /fs/microsd/bootloader.bin ]
then
bl_update /fs/microsd/bootloader.bin
rm /fs/microsd/bootloader.bin
else
fi
if [ ! -f /fs/microsd/APM/nostart ]
then
if [ -f /etc/init.d/rc.APM ]

View File

@ -68,6 +68,13 @@ fi
if [ $HAVE_MICROSD == 1 ]
then
if [ -f /fs/microsd/bootloader.bin ]
then
bl_update /fs/microsd/bootloader.bin
rm /fs/microsd/bootloader.bin
else
fi
if [ ! -f /fs/microsd/APM/nostart ]
then
if [ -f /etc/init.d/rc.APM ]

View File

@ -68,6 +68,13 @@ fi
if [ $HAVE_MICROSD == 1 ]
then
if [ -f /fs/microsd/bootloader.bin ]
then
bl_update /fs/microsd/bootloader.bin
rm /fs/microsd/bootloader.bin
else
fi
if [ ! -f /fs/microsd/APM/nostart ]
then
if [ -f /etc/init.d/rc.APM ]