+ } else if (startswith(word, "systemd.dump_core=")) {
+ int r;
+
+ if ((r = parse_boolean(word + 18)) < 0)
+ log_warning("Failed to parse dump core switch %s, Ignoring", word + 18);
+ else
+ dump_core = r;
+
+ } else if (startswith(word, "systemd.crash_shell=")) {
+ int r;
+
+ if ((r = parse_boolean(word + 20)) < 0)
+ log_warning("Failed to parse crash shell switch %s, Ignoring", word + 20);
+ else
+ crash_shell = r;
+
+ } else if (startswith(word, "systemd.")) {
+
+ log_warning("Unknown kernel switch %s. Ignoring.", word);
+
+ log_info("Supported kernel switches:");
+ log_info("systemd.default=UNIT Default unit to start");
+ log_info("systemd.log_target=console|kmsg|syslog Log target");
+ log_info("systemd.log_level=LEVEL Log level");
+ log_info("systemd.dump_core=0|1 Dump core on crash");
+ log_info("systemd.crash_shell=0|1 On crash run shell");
+