mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-06 13:18:27 +02:00
CFlashTool::erase - shutdown sectionsd before erase flash
Origin commit data
------------------
Commit: 412d430ed0
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-06-01 (Sat, 01 Jun 2013)
This commit is contained in:
@@ -25,6 +25,7 @@
|
|||||||
|
|
||||||
#include <libmd5sum.h>
|
#include <libmd5sum.h>
|
||||||
#include <system/flashtool.h>
|
#include <system/flashtool.h>
|
||||||
|
#include <eitd/sectionsd.h>
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
@@ -310,6 +311,10 @@ bool CFlashTool::erase(int globalProgressEnd)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
printf("sectionsd shutdown\n");
|
||||||
|
CEitManager::getInstance()->Stop();
|
||||||
|
printf("sectionsd shutdown done\n");
|
||||||
|
|
||||||
if(statusViewer)
|
if(statusViewer)
|
||||||
globalProgressBegin = statusViewer->getGlobalStatus();
|
globalProgressBegin = statusViewer->getGlobalStatus();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user