/[packages]/cauldron/systemd/current/SOURCES/0501-main-Add-failsafe-to-the-sysvinit-compat-cmdline-key.patch
ViewVC logotype

Contents of /cauldron/systemd/current/SOURCES/0501-main-Add-failsafe-to-the-sysvinit-compat-cmdline-key.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1713222 - (show annotations) (download)
Sun Apr 4 14:40:38 2021 UTC (3 years ago) by tmb
File size: 944 byte(s)
update to v248
1 From 796991d8828c55d1e5d367ceef1ebb8ede7c97a4 Mon Sep 17 00:00:00 2001
2 From: Colin Guthrie <colin@mageia.org>
3 Date: Sun, 26 Feb 2012 17:45:58 +0000
4 Subject: [PATCH 501/509] main: Add 'failsafe' to the sysvinit compat cmdline
5 keywords.
6
7 This is just a synonym for systemd.unit=rescue.target (the
8 same as the current keyword 'single').
9
10 This is used in Mageia and Mandriva (mga#4702)
11 ---
12 src/shared/unit-file.c | 1 +
13 1 file changed, 1 insertion(+)
14
15 diff --git a/src/basic/unit-file.c b/src/basic/unit-file.c
16 --- a/src/basic/unit-file.c
17 +++ b/src/basic/unit-file.c
18 @@ -562,6 +562,7 @@ static const char * const rlmap[] = {
19 "emergency", SPECIAL_EMERGENCY_TARGET,
20 "-b", SPECIAL_EMERGENCY_TARGET,
21 "rescue", SPECIAL_RESCUE_TARGET,
22 + "failsafe", SPECIAL_RESCUE_TARGET,
23 "single", SPECIAL_RESCUE_TARGET,
24 "-s", SPECIAL_RESCUE_TARGET,
25 "s", SPECIAL_RESCUE_TARGET,

  ViewVC Help
Powered by ViewVC 1.1.30