/[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 925317 - (show annotations) (download)
Mon Jan 18 09:49:20 2016 UTC (8 years, 3 months ago) by colin
File size: 990 byte(s)
New version: 228
1 From 6d1d2f624d98ab5ce04b63d6ebc5be0b64c3e24c 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] main: Add 'failsafe' to the sysvinit compat cmdline keywords.
5
6 This is just a synonym for systemd.unit=rescue.target (the
7 same as the current keyword 'single').
8
9 This is used in Mageia and Mandriva (mga#4702)
10 ---
11 src/basic/proc-cmdline.c | 1 +
12 1 file changed, 1 insertion(+)
13
14 diff --git a/src/basic/proc-cmdline.c b/src/basic/proc-cmdline.c
15 index 4464573..8e6963e 100644
16 --- a/src/basic/proc-cmdline.c
17 +++ b/src/basic/proc-cmdline.c
18 @@ -149,6 +149,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,
26 --
27 2.5.0
28

  ViewVC Help
Powered by ViewVC 1.1.30