mirror of
https://github.com/troglobit/finit.git
synced 2026-11-13 17:00:16 +00:00
Use FINIT_RCSD instead of hard coded value
Signed-off-by: Jacques de Laval <jacques@de-laval.se>
This commit is contained in:
1 parent
bc4d4b7f35
commit
51fe974ee5
1 file changed
+2
-2
+2
-2
@@ -675,8 +675,8 @@ int conf_reload(void)
|
|||||||
parse_conf(FINIT_CONF);
|
parse_conf(FINIT_CONF);
|
||||||
|
|
||||||
/* Next, read all *.conf in /etc/finit.d/ */
|
/* Next, read all *.conf in /etc/finit.d/ */
|
||||||
glob("/etc/finit.d/*.conf", 0, NULL, &gl);
|
glob(FINIT_RCSD "/*.conf", 0, NULL, &gl);
|
||||||
glob("/etc/finit.d/enabled/*.conf", GLOB_APPEND, NULL, &gl);
|
glob(FINIT_RCSD "/enabled/*.conf", GLOB_APPEND, NULL, &gl);
|
||||||
|
|
||||||
for (i = 0; i < gl.gl_pathc; i++) {
|
for (i = 0; i < gl.gl_pathc; i++) {
|
||||||
char *path = gl.gl_pathv[i];
|
char *path = gl.gl_pathv[i];
|
||||||
|
|||||||
Reference in new issue
Block a user