1 From 17860355fe8401140c15bfe207c3f925eb88db6c Mon Sep 17 00:00:00 2001
2 From: William Douglas <william.douglas@intel.com>
3 Date: Fri, 20 Apr 2012 14:25:58 -0700
4 Subject: [PATCH 2/3] update login path for emergency in tizen distro
7 units/emergency.service | 2 +-
8 units/rescue.service.m4 | 2 +-
9 2 files changed, 2 insertions(+), 2 deletions(-)
11 diff --git a/units/emergency.service b/units/emergency.service
12 index 234bafc..b1afa68 100644
13 --- a/units/emergency.service
14 +++ b/units/emergency.service
15 @@ -18,7 +18,7 @@ Environment=HOME=/root
16 WorkingDirectory=/root
17 ExecStartPre=-/bin/plymouth quit
18 ExecStartPre=-/bin/echo 'Welcome to emergency mode. Use "systemctl default" or ^D to activate default mode.'
19 -ExecStart=-/sbin/sulogin
20 +ExecStart=-/bin/login
21 ExecStopPost=/bin/systemctl --fail --no-block default
22 StandardInput=tty-force
23 StandardOutput=inherit
24 diff --git a/units/rescue.service.m4 b/units/rescue.service.m4
25 index 7dd8a22..7f60aca 100644
26 --- a/units/rescue.service.m4
27 +++ b/units/rescue.service.m4
28 @@ -31,7 +31,7 @@ ExecStart=-/bin/bash -c "exec ${SINGLE}"',
29 m4_ifdef(`TARGET_MEEGO',
30 `EnvironmentFile=/etc/sysconfig/init
31 ExecStart=-/bin/bash -c "exec ${SINGLE}"',
32 -`ExecStart=-/sbin/sulogin'))))
33 +`ExecStart=-/bin/login'))))
34 ExecStopPost=-/bin/systemctl --fail --no-block default
35 StandardInput=tty-force
36 StandardOutput=inherit