mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 18:31:22 +02:00
- neutrino: don't write timerinfo's when exiting to reboot
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -3889,6 +3889,8 @@ void CNeutrinoApp::ExitRun(int exit_code)
|
|||||||
if (cs_get_revision() != 10)
|
if (cs_get_revision() != 10)
|
||||||
bright = g_settings.lcd_setting[SNeutrinoSettings::LCD_DEEPSTANDBY_BRIGHTNESS];
|
bright = g_settings.lcd_setting[SNeutrinoSettings::LCD_DEEPSTANDBY_BRIGHTNESS];
|
||||||
#endif
|
#endif
|
||||||
|
if (exit_code != CNeutrinoApp::EXIT_REBOOT)
|
||||||
|
{
|
||||||
if (timer_minutes)
|
if (timer_minutes)
|
||||||
{
|
{
|
||||||
time_t t = timer_minutes * 60;
|
time_t t = timer_minutes * 60;
|
||||||
@@ -3922,6 +3924,7 @@ void CNeutrinoApp::ExitRun(int exit_code)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
perror("fopen /tmp/.timer");
|
perror("fopen /tmp/.timer");
|
||||||
|
}
|
||||||
|
|
||||||
delete g_RCInput;
|
delete g_RCInput;
|
||||||
g_RCInput = NULL;
|
g_RCInput = NULL;
|
||||||
|
Reference in New Issue
Block a user