mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 02:11:04 +02:00
neutrino: enable 'standby after inactivity' for Tripledragon
Origin commit data
------------------
Branch: ni/coolstream
Commit: 56b9b9bcc5
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-03-04 (Sun, 04 Mar 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -403,7 +403,7 @@ int CNeutrinoApp::loadSetup(const char * fname)
|
||||
strcpy(g_settings.shutdown_count, configfile.getString("shutdown_count","0").c_str());
|
||||
|
||||
strcpy(g_settings.shutdown_min, "000");
|
||||
if(cs_get_revision() > 7)
|
||||
if (cs_get_revision() > 7 || cs_get_revision() == 1)
|
||||
strcpy(g_settings.shutdown_min, configfile.getString("shutdown_min","180").c_str());
|
||||
|
||||
g_settings.infobar_sat_display = configfile.getBool("infobar_sat_display" , true );
|
||||
@@ -2744,6 +2744,12 @@ _repeat:
|
||||
return messages_return::handled;
|
||||
}
|
||||
else {
|
||||
if (cs_get_revision() == 1)
|
||||
{
|
||||
/* TD has no FP for real shutdown -> do standby instead */
|
||||
standbyMode(true);
|
||||
return messages_return::handled;
|
||||
}
|
||||
printf("NeutrinoMessages::SLEEPTIMER: shutdown\n");
|
||||
ExitRun(true, (cs_get_revision() > 7));
|
||||
}
|
||||
|
Reference in New Issue
Block a user