mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user