mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
-fix shutdown for neo
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@719 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -2667,7 +2667,7 @@ int CNeutrinoApp::run(int argc, char **argv)
|
||||
|
||||
RealRun(mainMenu);
|
||||
|
||||
ExitRun(true);
|
||||
ExitRun(true, (cs_get_revision() > 7));
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -3515,7 +3515,7 @@ printf("NeutrinoMessages::EVT_BOUQUETSCHANGED\n");fflush(stdout);
|
||||
}
|
||||
else if( msg == NeutrinoMessages::SLEEPTIMER) {
|
||||
if(g_settings.shutdown_real)
|
||||
ExitRun(true);
|
||||
ExitRun(true, (cs_get_revision() > 7));
|
||||
else
|
||||
standbyMode( true );
|
||||
return messages_return::handled;
|
||||
@@ -3545,7 +3545,7 @@ printf("NeutrinoMessages::EVT_BOUQUETSCHANGED\n");fflush(stdout);
|
||||
}
|
||||
else if( msg == NeutrinoMessages::SHUTDOWN ) {
|
||||
if(!skipShutdownTimer) {
|
||||
ExitRun(true);
|
||||
ExitRun(true, (cs_get_revision() > 7));
|
||||
}
|
||||
else {
|
||||
skipShutdownTimer=false;
|
||||
|
Reference in New Issue
Block a user