lcd4l: start/stop daemon with start/stop functions

Origin commit data
------------------
Branch: ni/coolstream
Commit: 6f18e42424
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-02-01 (Mon, 01 Feb 2021)

Origin message was:
------------------
- lcd4l: start/stop daemon with start/stop functions

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-02-01 00:10:29 +01:00
parent 6d816a0a26
commit a156556073

View File

@@ -147,6 +147,8 @@ void CLCD4l::StartLCD4l()
pthread_create(&thrLCD4l, NULL, LCD4lProc, (void*) this);
pthread_detach(thrLCD4l);
}
if (g_settings.lcd4l_support)
exec_initscript("lcd4linux", "start");
}
void CLCD4l::StopLCD4l()
@@ -157,6 +159,7 @@ void CLCD4l::StopLCD4l()
pthread_cancel(thrLCD4l);
thrLCD4l = 0;
}
exec_initscript("lcd4linux", "stop");
}
void CLCD4l::SwitchLCD4l()