mirror of
https://github.com/troglobit/finit.git
synced 2026-10-15 10:29:35 +00:00
Store RUN_LVL in UTMP and change RUNLEVEL_BOOT from 10 to 0
Standard init implementations save current and previous runlevels in utmp, now finit does too. Also, the initial runlevel at boot has changed from 10 to the more obvious 0. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
0f60aa2289
commit
4171fbdfd3
5 files changed
+29
-9
No files matched your search
@@ -39,9 +39,9 @@
|
||||
|
||||
int debug = 0;
|
||||
int verbose = 1;
|
||||
int runlevel = RUNLEVEL_BOOT; /* Bootstrap */
|
||||
int cfglevel = RUNLEVEL; /* Fallback if no configured runlevel */
|
||||
int prevlevel = 0; /* HALT */
|
||||
int runlevel = 0; /* Bootstrap */
|
||||
int cfglevel = RUNLEVEL; /* Fallback if no configured runlevel */
|
||||
int prevlevel = 0; /* HALT */
|
||||
char *sdown = NULL;
|
||||
char *network = NULL;
|
||||
char *username = NULL;
|
||||
|
||||
Reference in new issue
Block a user