mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
setting_helpers: ensure to create flagfile to reset var-partition
Origin commit data
------------------
Branch: ni/coolstream
Commit: 566ea03372
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-06-04 (Wed, 04 Jun 2014)
Origin message was:
------------------
- setting_helpers: ensure to create flagfile to reset var-partition
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -536,8 +536,6 @@ int CDataResetNotifier::exec(CMenuTarget* /*parent*/, const std::string& actionK
|
|||||||
CServiceManager::getInstance()->SatelliteList().clear();
|
CServiceManager::getInstance()->SatelliteList().clear();
|
||||||
CZapit::getInstance()->LoadSettings();
|
CZapit::getInstance()->LoadSettings();
|
||||||
CZapit::getInstance()->GetConfig(zapitCfg);
|
CZapit::getInstance()->GetConfig(zapitCfg);
|
||||||
g_RCInput->postMsg( NeutrinoMessages::REBOOT, 0);
|
|
||||||
ret = menu_return::RETURN_EXIT_ALL;
|
|
||||||
#ifdef BOXMODEL_APOLLO
|
#ifdef BOXMODEL_APOLLO
|
||||||
/* flag file to erase /var partition on factory reset,
|
/* flag file to erase /var partition on factory reset,
|
||||||
will be done by init scripts */
|
will be done by init scripts */
|
||||||
@@ -545,6 +543,8 @@ int CDataResetNotifier::exec(CMenuTarget* /*parent*/, const std::string& actionK
|
|||||||
if (fp)
|
if (fp)
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
#endif
|
#endif
|
||||||
|
g_RCInput->postMsg( NeutrinoMessages::REBOOT, 0);
|
||||||
|
ret = menu_return::RETURN_EXIT_ALL;
|
||||||
}
|
}
|
||||||
if(delete_set) {
|
if(delete_set) {
|
||||||
unlink(NEUTRINO_SETTINGS_FILE);
|
unlink(NEUTRINO_SETTINGS_FILE);
|
||||||
|
Reference in New Issue
Block a user