mirror of
https://github.com/troglobit/finit.git
synced 2026-11-28 20:58:24 +00:00
Minor, relocate path definition to finit.h
This is where the other path definitions live. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
2 files changed
+5
-3
No files matched your search
@@ -54,6 +54,11 @@
|
|||||||
#define FINIT_CGPATH "/sys/fs/cgroup"
|
#define FINIT_CGPATH "/sys/fs/cgroup"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Prevent users from logging in at critical stages */
|
||||||
|
#ifndef FINIT_NOLOGIN_PATH
|
||||||
|
#define FINIT_NOLOGIN_PATH _PATH_NOLOGIN
|
||||||
|
#endif
|
||||||
|
|
||||||
/* To use these, include config.h, or define FINIT_EXECPATH_ */
|
/* To use these, include config.h, or define FINIT_EXECPATH_ */
|
||||||
#define _PATH_LOGIT FINIT_EXECPATH_ "/logit"
|
#define _PATH_LOGIT FINIT_EXECPATH_ "/logit"
|
||||||
#define _PATH_RUNPARTS FINIT_EXECPATH_ "/runparts"
|
#define _PATH_RUNPARTS FINIT_EXECPATH_ "/runparts"
|
||||||
|
|||||||
@@ -57,9 +57,6 @@ static struct {
|
|||||||
int in_reload; /* Set when waiting for all processes to be halted */
|
int in_reload; /* Set when waiting for all processes to be halted */
|
||||||
} sm;
|
} sm;
|
||||||
|
|
||||||
#ifndef FINIT_NOLOGIN_PATH
|
|
||||||
#define FINIT_NOLOGIN_PATH _PATH_NOLOGIN /* Stop user logging in. */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Wait for system bootstrap to complete, all SVC_TYPE_RUNTASK must be
|
* Wait for system bootstrap to complete, all SVC_TYPE_RUNTASK must be
|
||||||
|
|||||||
Reference in new issue
Block a user