mirror of
https://github.com/troglobit/finit.git
synced 2026-10-23 11:44:37 +00:00
Relocate global configuration variables from finit.c -> conf.c
These variables really belong in conf.c. Relocate and move external decls. from finit.h -> conf.h to simplify linking of other programs. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
12 files changed
+47
-39
No files matched your search
+18
@@ -27,6 +27,24 @@
|
||||
#include "cgroup.h"
|
||||
#include "svc.h"
|
||||
|
||||
extern int runlevel;
|
||||
extern int cfglevel;
|
||||
extern int cmdlevel;
|
||||
extern int prevlevel;
|
||||
extern int debug;
|
||||
extern int rescue;
|
||||
extern int single;
|
||||
extern int bootstrap;
|
||||
extern int kerndebug;
|
||||
extern int syncsec;
|
||||
extern int readiness;
|
||||
extern char *fstab;
|
||||
extern char *sdown;
|
||||
extern char *network;
|
||||
extern char *hostname;
|
||||
extern char *runparts;
|
||||
extern char *osheading;
|
||||
|
||||
extern int logfile_size_max;
|
||||
extern int logfile_count_max;
|
||||
|
||||
|
||||
Reference in new issue
Block a user