Merge pull request #8086 from hdante/sdboot-setmode-v2
This commit is contained in:
@@ -206,6 +206,8 @@ int boot_loader_read_conf(const char *path, BootConfig *config) {
|
||||
r = free_and_strdup(&config->auto_entries, p);
|
||||
else if (streq(buf, "auto-firmware"))
|
||||
r = free_and_strdup(&config->auto_firmware, p);
|
||||
else if (streq(buf, "console-mode"))
|
||||
r = free_and_strdup(&config->console_mode, p);
|
||||
else {
|
||||
log_notice("%s:%u: Unknown line \"%s\"", path, line, field);
|
||||
continue;
|
||||
|
||||
@@ -42,6 +42,7 @@ typedef struct BootConfig {
|
||||
char *editor;
|
||||
char *auto_entries;
|
||||
char *auto_firmware;
|
||||
char *console_mode;
|
||||
|
||||
char *entry_oneshot;
|
||||
char *entry_default;
|
||||
|
||||
Reference in New Issue
Block a user