mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
move creation of /tmp/.flash.start to update code
Origin commit data
------------------
Commit: c5b2772226
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-03-12 (Fri, 12 Mar 2021)
Origin message was:
------------------
- move creation of /tmp/.flash.start to update code
This commit is contained in:
@@ -733,6 +733,9 @@ int CFlashUpdate::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
#ifndef DRYRUN
|
||||
if (flashing)
|
||||
{
|
||||
if ( FILE *f = fopen("/tmp/.flash.start", "w") )
|
||||
fclose(f);
|
||||
|
||||
CVFD::getInstance()->setMode(CVFD::MODE_MENU_UTF8);
|
||||
CVFD::getInstance()->showMenuText(0, "ofgwrite Flashing Tool", -1, true);
|
||||
my_system(4, ofgwrite_caller.c_str(), g_settings.update_dir.c_str(), filename.c_str(), ofgwrite_options.c_str());
|
||||
|
Reference in New Issue
Block a user