mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
CFlashTool::erase - shutdown sectionsd before erase flash
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
|
||||
#include <libmd5sum.h>
|
||||
#include <system/flashtool.h>
|
||||
#include <eitd/sectionsd.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
@@ -310,6 +311,10 @@ bool CFlashTool::erase(int globalProgressEnd)
|
||||
return false;
|
||||
}
|
||||
|
||||
printf("sectionsd shutdown\n");
|
||||
CEitManager::getInstance()->Stop();
|
||||
printf("sectionsd shutdown done\n");
|
||||
|
||||
if(statusViewer)
|
||||
globalProgressBegin = statusViewer->getGlobalStatus();
|
||||
|
||||
|
Reference in New Issue
Block a user