From b291cef2d0862c1bb1a917ce940b58f6c249f362 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Mon, 1 Feb 2021 00:10:29 +0100 Subject: [PATCH] - lcd4l: start/stop daemon with start/stop functions Signed-off-by: Thilo Graf --- src/driver/lcd4l.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/driver/lcd4l.cpp b/src/driver/lcd4l.cpp index cffae80f6..2ec7d5535 100644 --- a/src/driver/lcd4l.cpp +++ b/src/driver/lcd4l.cpp @@ -193,6 +193,8 @@ void CLCD4l::StartLCD4l() pthread_detach(thrLCD4l); lcd4linux(true); } + if (g_settings.lcd4l_support) + exec_initscript("lcd4linux", "start"); } void CLCD4l::StopLCD4l() @@ -204,6 +206,7 @@ void CLCD4l::StopLCD4l() thrLCD4l = 0; lcd4linux(false); } + exec_initscript("lcd4linux", "stop"); } void CLCD4l::SwitchLCD4l()