mirror of
https://github.com/troglobit/finit.git
synced 2026-10-02 05:52:48 +07: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:
@@ -54,6 +54,11 @@
|
||||
#define FINIT_CGPATH "/sys/fs/cgroup"
|
||||
#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_ */
|
||||
#define _PATH_LOGIT FINIT_EXECPATH_ "/logit"
|
||||
#define _PATH_RUNPARTS FINIT_EXECPATH_ "/runparts"
|
||||
|
||||
@@ -57,9 +57,6 @@ static struct {
|
||||
int in_reload; /* Set when waiting for all processes to be halted */
|
||||
} 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
|
||||
|
||||
Reference in New Issue
Block a user