mirror of
https://github.com/troglobit/finit.git
synced 2026-10-02 14:02:52 +07:00
Add support for splash progress mode from kernel cmdline
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -84,6 +84,9 @@ void conf_parse_cmdline(void)
|
||||
|
||||
if (string_compare(tok, "single") || string_compare(tok, "S"))
|
||||
single = 1;
|
||||
|
||||
if (string_compare(tok, "splash"))
|
||||
splash = 1;
|
||||
}
|
||||
fclose(fp);
|
||||
|
||||
|
||||
@@ -55,6 +55,7 @@ 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 */
|
||||
int splash = 0; /* splash + progress enabled on kernel cmdline */
|
||||
char *sdown = NULL;
|
||||
char *network = NULL;
|
||||
char *hostname = NULL;
|
||||
|
||||
@@ -98,6 +98,7 @@ extern int cfglevel;
|
||||
extern int prevlevel;
|
||||
extern int rescue;
|
||||
extern int single;
|
||||
extern int splash;
|
||||
extern char *rcsd;
|
||||
extern char *sdown;
|
||||
extern char *network;
|
||||
|
||||
Reference in New Issue
Block a user