[systemd-devel] [PATCH 1/3] main: revert recognition of "b" argument

Jan Engelhardt jengelh at medozas.de
Tue Mar 15 19:50:39 PDT 2011


Commit 099663ff8c117303af369a4d412dafed0c5614c2 added "b" as a
recognized argument, however, B is not a runlevel like S. (B appears
as a pseudo runlevel in openSUSE's init.d scripts only for the sake of
insserv being able to manage /etc/init.d/boot.d like the other dirs).

Signed-off-by: Jan Engelhardt <jengelh at medozas.de>
---
 src/main.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/main.c b/src/main.c
index 5b75ecc..704a6d9 100644
--- a/src/main.c
+++ b/src/main.c
@@ -227,7 +227,6 @@ static int parse_proc_cmdline_word(const char *word) {
         static const char * const rlmap[] = {
                 "emergency", SPECIAL_EMERGENCY_TARGET,
                 "-b",        SPECIAL_EMERGENCY_TARGET,
-                "b",         SPECIAL_EMERGENCY_TARGET,
                 "single",    SPECIAL_RESCUE_TARGET,
                 "-s",        SPECIAL_RESCUE_TARGET,
                 "s",         SPECIAL_RESCUE_TARGET,
-- 
1.7.1



More information about the systemd-devel mailing list