mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +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
Origin commit data
------------------
Branch: ni/coolstream
Commit: 64817a6044
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2010-09-30 (Thu, 30 Sep 2010)
------------------
This commit was generated by Migit
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