chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
main: add link to wiki page with longer explanation of the /usr madness
[elogind.git]
/
units
/
emergency.service
diff --git
a/units/emergency.service
b/units/emergency.service
index e05678255b3f57c008c848d2e64ddcd48f5de2e1..cb28a783852a172bbe592a8ed7175b5c7fe669ed 100644
(file)
--- a/
units/emergency.service
+++ b/
units/emergency.service
@@
-10,15
+10,16
@@
[Unit]
Description=Emergency Shell
DefaultDependencies=no
[Unit]
Description=Emergency Shell
DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target
[Service]
Environment=HOME=/root
[Service]
Environment=HOME=/root
-Environment=TERM=vt100-nav
WorkingDirectory=/root
WorkingDirectory=/root
-ExecStartPre=-/bin/plymouth
--hide-splash
+ExecStartPre=-/bin/plymouth
quit
ExecStartPre=-/bin/echo 'Welcome to emergency mode. Use "systemctl default" or ^D to activate default mode.'
ExecStart=-/sbin/sulogin
ExecStartPre=-/bin/echo 'Welcome to emergency mode. Use "systemctl default" or ^D to activate default mode.'
ExecStart=-/sbin/sulogin
-ExecStopPost=/bin/systemctl default
+ExecStopPost=/bin/systemctl
--fail
default
StandardInput=tty-force
KillMode=process-group
StandardInput=tty-force
KillMode=process-group