mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
lib/sectionsdclient/sectionsdcontrol.cpp: add --freemem command
This commit is contained in:
@@ -70,6 +70,11 @@ int main(int argc, char** argv)
|
|||||||
if (!strcmp(argv[i], "--dump")) {
|
if (!strcmp(argv[i], "--dump")) {
|
||||||
client.dumpStatus();
|
client.dumpStatus();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
if (!strcmp(argv[i], "--freemem")) {
|
||||||
|
printf("Removing all cached epg...\n");
|
||||||
|
client.freeMemory();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user