Add support for single (S) user mode from kernel cmdline

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2017-12-30 21:20:06 +01:00
1 parent 5b3df3654c
commit eaa82377c4
3 files changed
+9

No files matched your search

+1
View File
@@ -54,6 +54,7 @@ int runlevel = 0; /* Bootstrap 'S' */
int cfglevel = RUNLEVEL; /* Fallback if no configured runlevel */
int prevlevel = -1;
int rescue = 0; /* rescue mode from kernel cmdline */
int single = 0; /* single user mode from kernel cmdline */
char *sdown = NULL;
char *network = NULL;
char *hostname = NULL;