]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/bootspec.c
Merge pull request #8086 from hdante/sdboot-setmode-v2
[thirdparty/systemd.git] / src / shared / bootspec.c
index 1c9ef4001919d5ef11bc5c0571e5248813007989..7bb66f3d879a9c85807a0d65700ed5bbbf7459a2 100644 (file)
@@ -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;