mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-14 00:43:42 +02:00
* Software Update with apply the settings (Part11)
- Deletelist added to delete files or directories from image - Files/Directories are marked by a prefixed '~' in the settingsupdate.conf - Rework readBackupList()
This commit is contained in:
@@ -54,14 +54,16 @@ class CExtUpdate
|
||||
std::string backupList, defaultBackup;
|
||||
std::string mountPkt;
|
||||
CFileHelpers* FileHelpers;
|
||||
std::vector<std::string> BlackList;
|
||||
std::vector<std::string> copyList, blackList, deleteList;
|
||||
|
||||
bool applySettings(void);
|
||||
bool readBackupList(const std::string & dstPath);
|
||||
bool copyFileList(const std::string & fileList, const std::string & dstPath);
|
||||
bool deleteFileList(const std::string & fileList);
|
||||
bool readConfig(const std::string & Config);
|
||||
bool findConfigEntry(std::string & line, std::string find);
|
||||
bool isMtdramLoad();
|
||||
bool checkSpecialFolders(std::string line, bool copy);
|
||||
|
||||
FILE * fUpdate;
|
||||
char updateLogBuf[1024];
|
||||
|
Reference in New Issue
Block a user