mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
lcd4linux: use exec_initscript() to execute initscript
Origin commit data
------------------
Branch: ni/coolstream
Commit: fed13df05a
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-06-11 (Fri, 11 Jun 2021)
Origin message was:
------------------
- lcd4linux: use exec_initscript() to execute initscript
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -832,13 +832,7 @@ void CLCD4l::ParseInfo(uint64_t parseID, bool newID, bool firstRun)
|
||||
m_Layout = Layout;
|
||||
|
||||
if (!firstRun)
|
||||
{
|
||||
const char *buf = "service lcd4linux reload";
|
||||
|
||||
//printf("[CLCD4l] %s: executing '%s'\n", __FUNCTION__, buf);
|
||||
if (my_system(3, "service", "lcd4linux", "reload") != 0)
|
||||
printf("[CLCD4l] %s: executing '%s' failed\n", __FUNCTION__, buf);
|
||||
}
|
||||
exec_initscript("lcd4linux", "reload");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user