COPKGManager: don't init if no opkg support available

This avoids creating of any basic configuration files or directories on
non opkg supported firmware releases.
This commit is contained in:
2015-12-29 14:52:39 +01:00
parent 974480fc4f
commit bea8f5e980
2 changed files with 9 additions and 1 deletions

View File

@@ -51,7 +51,7 @@ class COPKGManager : public CMenuTarget
void saveConfig();
void loadConfig();
struct pkg;
void init();
//config
std::string config_src[OPKG_MAX_FEEDS];
std::vector<std::string> config_dest;