chiark / gitweb /
main: when we encounter 'emergency' on the kernel cmdline start the emergency shell
authorLennart Poettering <lennart@poettering.net>
Tue, 7 Sep 2010 23:52:39 +0000 (01:52 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 7 Sep 2010 23:55:35 +0000 (01:55 +0200)
fixme
src/main.c

diff --git a/fixme b/fixme
index a58aaa89d2c588a31213290e61dec14d24eab4c6..773b6b57f25d43981862467900093f2ef9b69ee1 100644 (file)
--- a/fixme
+++ b/fixme
 
 * kexec, suspend, resume
 
+* passphrase agent https://bugs.freedesktop.org/show_bug.cgi?id=30038
+
+* emergency.service should start default.target after C-d.
+
 External:
 
 * place /etc/inittab with explaining blurb.
index d0587cb57b78722fcbd0cf9867764ee77177b1af..dc561a9b80356bb0d03d7e3a49590956e541814c 100644 (file)
@@ -234,15 +234,16 @@ static int set_default_unit(const char *u) {
 static int parse_proc_cmdline_word(const char *word) {
 
         static const char * const rlmap[] = {
-                "single", SPECIAL_RESCUE_TARGET,
-                "-s",     SPECIAL_RESCUE_TARGET,
-                "s",      SPECIAL_RESCUE_TARGET,
-                "S",      SPECIAL_RESCUE_TARGET,
-                "1",      SPECIAL_RESCUE_TARGET,
-                "2",      SPECIAL_RUNLEVEL2_TARGET,
-                "3",      SPECIAL_RUNLEVEL3_TARGET,
-                "4",      SPECIAL_RUNLEVEL4_TARGET,
-                "5",      SPECIAL_RUNLEVEL5_TARGET
+                "emergency", SPECIAL_EMERGENCY_TARGET,
+                "single",    SPECIAL_RESCUE_TARGET,
+                "-s",        SPECIAL_RESCUE_TARGET,
+                "s",         SPECIAL_RESCUE_TARGET,
+                "S",         SPECIAL_RESCUE_TARGET,
+                "1",         SPECIAL_RESCUE_TARGET,
+                "2",         SPECIAL_RUNLEVEL2_TARGET,
+                "3",         SPECIAL_RUNLEVEL3_TARGET,
+                "4",         SPECIAL_RUNLEVEL4_TARGET,
+                "5",         SPECIAL_RUNLEVEL5_TARGET,
         };
 
         assert(word);