Minor refactor, create FINIT_CGPATH in finit.h to reduce duplicaiton

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2021-03-04 23:48:57 +01:00
1 parent e84911fe52
commit 464bc831a5
2 files changed
+15 -10

No files matched your search

+6 -2
View File
@@ -38,11 +38,15 @@
/* just in case */
#ifndef _PATH_STDPATH
#define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin"
#define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin"
#endif
#ifndef _PATH_VARRUN
#define _PATH_VARRUN "/var/run/"
#define _PATH_VARRUN "/var/run/"
#endif
#ifndef FINIT_CGPATH
#define FINIT_CGPATH "/sys/fs/cgroup/finit"
#endif
#define LOGIT_PATH FINIT_LIBPATH_ "/logit"