mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
- setting_helpers: ensure to create flagfile to reset var-partition
This commit is contained in:
@@ -536,8 +536,6 @@ int CDataResetNotifier::exec(CMenuTarget* /*parent*/, const std::string& actionK
|
||||
CServiceManager::getInstance()->SatelliteList().clear();
|
||||
CZapit::getInstance()->LoadSettings();
|
||||
CZapit::getInstance()->GetConfig(zapitCfg);
|
||||
g_RCInput->postMsg( NeutrinoMessages::REBOOT, 0);
|
||||
ret = menu_return::RETURN_EXIT_ALL;
|
||||
#ifdef BOXMODEL_APOLLO
|
||||
/* flag file to erase /var partition on factory reset,
|
||||
will be done by init scripts */
|
||||
@@ -545,6 +543,8 @@ int CDataResetNotifier::exec(CMenuTarget* /*parent*/, const std::string& actionK
|
||||
if (fp)
|
||||
fclose(fp);
|
||||
#endif
|
||||
g_RCInput->postMsg( NeutrinoMessages::REBOOT, 0);
|
||||
ret = menu_return::RETURN_EXIT_ALL;
|
||||
}
|
||||
if(delete_set) {
|
||||
unlink(NEUTRINO_SETTINGS_FILE);
|
||||
|
Reference in New Issue
Block a user