mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-09 22:58:34 +02:00
- use new exec_controlscript() function
Conflicts: src/driver/record.cpp src/global.h src/neutrino.cpp Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -125,9 +125,7 @@ void SHTDCNT::shutdown_counter()
|
||||
} else if(sleeptimer_active && !CNeutrinoApp::getInstance ()->recordingstatus) {
|
||||
sleeptimer_active = false;
|
||||
|
||||
puts("[SHTDCNT] executing " NEUTRINO_ENTER_INACTIVITY_SCRIPT ".");
|
||||
if (my_system(NEUTRINO_ENTER_INACTIVITY_SCRIPT) != 0)
|
||||
perror(NEUTRINO_ENTER_INACTIVITY_SCRIPT " failed");
|
||||
exec_controlscript(NEUTRINO_ENTER_INACTIVITY_SCRIPT);
|
||||
|
||||
printf("[SHTDCNT] sleep-timer send NeutrinoMessages::SLEEPTIMER\n");
|
||||
g_RCInput->postMsg(NeutrinoMessages::SLEEPTIMER, 1);
|
||||
|
Reference in New Issue
Block a user