mirror of
https://github.com/troglobit/finit.git
synced 2026-10-05 15:23:31 +07:00
plugins: create /var/run/finit/cond/pid directory
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
+1
-1
@@ -52,8 +52,8 @@ const char *cond_path(const char *name)
|
||||
|
||||
unsigned int cond_get_gen(const char *file)
|
||||
{
|
||||
unsigned int gen;
|
||||
char *ptr, path[256];
|
||||
unsigned int gen;
|
||||
FILE *fp;
|
||||
int ret;
|
||||
|
||||
|
||||
@@ -6,9 +6,11 @@
|
||||
|
||||
#define COND_BASE "finit/cond"
|
||||
#define COND_USR "usr/"
|
||||
#define COND_PID "pid/"
|
||||
|
||||
#define _PATH_COND _PATH_VARRUN COND_BASE "/"
|
||||
#define _PATH_CONDUSR _PATH_COND COND_USR
|
||||
#define _PATH_CONDPID _PATH_COND COND_PID
|
||||
#define _PATH_RECONF _PATH_COND "reconf"
|
||||
|
||||
typedef enum cond_state {
|
||||
|
||||
Reference in New Issue
Block a user