mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
- update: fix osd flickering
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -628,6 +628,12 @@ int CFlashUpdate::exec(CMenuTarget* parent, const std::string &actionKey)
|
|||||||
#ifndef DRYRUN
|
#ifndef DRYRUN
|
||||||
my_system(3, ofgwrite_tgz, g_settings.update_dir.c_str(), filename.c_str());
|
my_system(3, ofgwrite_tgz, g_settings.update_dir.c_str(), filename.c_str());
|
||||||
#endif
|
#endif
|
||||||
|
/*
|
||||||
|
ofgwrite is killing Neutrino.
|
||||||
|
So we stay here and wait for our end. This avoids osd flickering.
|
||||||
|
*/
|
||||||
|
while (true)
|
||||||
|
sleep(1);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
else // not image, install
|
else // not image, install
|
||||||
|
Reference in New Issue
Block a user