VRBRAIN: added automatic update of bootloader from SD at startup
This commit is contained in:
parent
efd407b56e
commit
3adb04dd71
@ -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 ]
|
||||
|
@ -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 ]
|
||||
|
@ -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 ]
|
||||
|
Loading…
Reference in New Issue
Block a user