mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
neutrino: more small cleanups in ExitRun()
Conflicts:
src/neutrino.cpp
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Branch: ni/coolstream
Commit: c95d5118ef
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-20 (Mon, 20 Nov 2017)
Origin message was:
------------------
- neutrino: more small cleanups in ExitRun()
Conflicts:
src/neutrino.cpp
Signed-off-by: Thilo Graf <dbt@novatux.de>
------------------
This commit was generated by Migit
This commit is contained in:
@@ -3842,20 +3842,14 @@ void CNeutrinoApp::ExitRun(int can_shutdown)
|
|||||||
g_settings.shutdown_timer_record_type = timer_is_rec;
|
g_settings.shutdown_timer_record_type = timer_is_rec;
|
||||||
saveSetup(NEUTRINO_SETTINGS_FILE);
|
saveSetup(NEUTRINO_SETTINGS_FILE);
|
||||||
|
|
||||||
#if 0
|
puts("[neutrino.cpp] executing " NEUTRINO_ENTER_DEEPSTANDBY_SCRIPT ".");
|
||||||
if (can_shutdown)
|
if (my_system(NEUTRINO_ENTER_DEEPSTANDBY_SCRIPT) != 0)
|
||||||
{
|
perror(NEUTRINO_ENTER_DEEPSTANDBY_SCRIPT " failed");
|
||||||
#endif
|
|
||||||
puts("[neutrino.cpp] executing " NEUTRINO_ENTER_DEEPSTANDBY_SCRIPT ".");
|
printf("entering off state\n");
|
||||||
if (my_system(NEUTRINO_ENTER_DEEPSTANDBY_SCRIPT) != 0)
|
printf("timer_minutes: %ld\n", timer_minutes);
|
||||||
perror(NEUTRINO_ENTER_DEEPSTANDBY_SCRIPT " failed");
|
mode = NeutrinoModes::mode_off;
|
||||||
|
|
||||||
printf("entering off state\n");
|
|
||||||
printf("timer_minutes: %ld\n", timer_minutes);
|
|
||||||
mode = NeutrinoModes::mode_off;
|
|
||||||
#if 0
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
int leds = 0;
|
int leds = 0;
|
||||||
int bright = 0;
|
int bright = 0;
|
||||||
#if HAVE_COOL_HARDWARE
|
#if HAVE_COOL_HARDWARE
|
||||||
|
Reference in New Issue
Block a user