system/setting_helpers.cpp: workaround for factory reset, clear sat list

Origin commit data
------------------
Branch: ni/coolstream
Commit: 5c85eced31
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-05-22 (Tue, 22 May 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2012-05-22 11:47:35 +04:00
parent eb5769a820
commit 4698fa9457

View File

@@ -591,6 +591,7 @@ int CDataResetNotifier::exec(CMenuTarget* /*parent*/, const std::string& actionK
if(delete_all) {
system("rm -f /var/tuxbox/config/zapit/*.conf");
CServiceManager::getInstance()->SatelliteList().clear();
CZapit::getInstance()->LoadSettings();
CZapit::getInstance()->GetConfig(zapitCfg);
g_RCInput->postMsg( NeutrinoMessages::REBOOT, 0);