|
Zbigniew Jędrzejewski-Szmek |
f1004d |
From 5329ab10ffaf5b4a3fd6ebd9380b1ec09d05cfc8 Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
From: =?UTF-8?q?Mantas=20Mikul=C4=97nas?= <grawity@gmail.com>
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
Date: Tue, 7 Oct 2014 14:55:21 +0300
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
Subject: [PATCH] core: map the 'rescue' argument to rescue.target
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
Even though the 'emergency' and 'single' aliases come from sysvinit, the
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
lack of 'rescue' is still quite confusing (caught me by surprise for the
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
9th time yet) and inconsistent with `systemctl rescue` as well.
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
---
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
src/core/main.c | 1 +
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
1 file changed, 1 insertion(+)
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
diff --git a/src/core/main.c b/src/core/main.c
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
index 1a62e04c80..44373cc7ef 100644
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
--- a/src/core/main.c
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
+++ b/src/core/main.c
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
@@ -272,6 +272,7 @@ static int parse_proc_cmdline_item(const char *key, const char *value) {
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
static const char * const rlmap[] = {
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
"emergency", SPECIAL_EMERGENCY_TARGET,
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
"-b", SPECIAL_EMERGENCY_TARGET,
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
+ "rescue", SPECIAL_RESCUE_TARGET,
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
"single", SPECIAL_RESCUE_TARGET,
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
"-s", SPECIAL_RESCUE_TARGET,
|
|
Zbigniew Jędrzejewski-Szmek |
f1004d |
"s", SPECIAL_RESCUE_TARGET,
|