mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
introduce configurable ZAPITDIR
Origin commit data
------------------
Commit: 6161eeef9b
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-10-19 (Tue, 19 Oct 2021)
Origin message was:
------------------
- introduce configurable ZAPITDIR
This commit is contained in:
@@ -660,7 +660,7 @@ int CDataResetNotifier::exec(CMenuTarget* /*parent*/, const std::string& actionK
|
||||
}
|
||||
|
||||
if(delete_all) {
|
||||
my_system(3, "/bin/sh", "-c", "rm -f " CONFIGDIR "/zapit/*.conf");
|
||||
my_system(3, "/bin/sh", "-c", "rm -f " ZAPITDIR "/*.conf");
|
||||
CServiceManager::getInstance()->SatelliteList().clear();
|
||||
CZapit::getInstance()->LoadSettings();
|
||||
CZapit::getInstance()->GetConfig(zapitCfg);
|
||||
@@ -686,7 +686,7 @@ int CDataResetNotifier::exec(CMenuTarget* /*parent*/, const std::string& actionK
|
||||
CFrameBuffer::getInstance()->Clear();
|
||||
}
|
||||
if(delete_chan) {
|
||||
my_system(3, "/bin/sh", "-c", "rm -f " CONFIGDIR "/zapit/*.xml");
|
||||
my_system(3, "/bin/sh", "-c", "rm -f " ZAPITDIR "/*.xml");
|
||||
g_Zapit->reinitChannels();
|
||||
}
|
||||
if (delete_removed) {
|
||||
|
Reference in New Issue
Block a user