mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 19:01:13 +02:00
helpers: add function to execute init scripts
Origin commit data
------------------
Branch: ni/coolstream
Commit: b4e75bdb24
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-02-01 (Mon, 01 Feb 2021)
Origin message was:
------------------
- helpers: add function to execute init scripts
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -61,6 +61,7 @@ int mySleep(int sec);
|
||||
|
||||
std::string find_executable(const char *name);
|
||||
bool exec_controlscript(std::string script);
|
||||
bool exec_initscript(std::string script, std::string command = "start");
|
||||
/* basically what "foo=`command`" does in the shell */
|
||||
std::string backtick(std::string command);
|
||||
|
||||
|
Reference in New Issue
Block a user