mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
Factory reset to delete all, with reboot
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@806 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -3603,6 +3603,11 @@ printf("NeutrinoMessages::EVT_BOUQUETSCHANGED\n");fflush(stdout);
|
||||
}
|
||||
return messages_return::handled;
|
||||
}
|
||||
else if( msg == NeutrinoMessages::REBOOT ) {
|
||||
FILE *f = fopen("/tmp/.reboot", "w");
|
||||
fclose(f);
|
||||
ExitRun(true);
|
||||
}
|
||||
else if (msg == NeutrinoMessages::EVT_POPUP) {
|
||||
if (mode != mode_scart)
|
||||
ShowHintUTF(LOCALE_MESSAGEBOX_INFO, (const char *) data); // UTF-8
|
||||
|
Reference in New Issue
Block a user