summaryrefslogtreecommitdiff
path: root/modules.d/98systemd/dracut-emergency.service
diff options
context:
space:
mode:
Diffstat (limited to 'modules.d/98systemd/dracut-emergency.service')
-rw-r--r--modules.d/98systemd/dracut-emergency.service8
1 files changed, 3 insertions, 5 deletions
diff --git a/modules.d/98systemd/dracut-emergency.service b/modules.d/98systemd/dracut-emergency.service
index b273d84a..153931b2 100644
--- a/modules.d/98systemd/dracut-emergency.service
+++ b/modules.d/98systemd/dracut-emergency.service
@@ -8,18 +8,16 @@
# See systemd.special(7) for details
[Unit]
-Description=Emergency Shell
+Description=Dracut Emergency Shell
DefaultDependencies=no
After=systemd-vconsole-setup.service
Wants=systemd-vconsole-setup.service
+Conflicts=emergency.service emergency.target
[Service]
Environment=HOME=/
WorkingDirectory=/
-ExecStartPre=-/bin/plymouth quit
-ExecStartPre=-/sbin/sosreport
-ExecStartPre=-/bin/echo -e '\n\nEntering emergency mode. Exit the shell to continue.\nType "journalctl" to view system logs.\nYou might want to save "/run/initramfs/sosreport.txt" to a USB stick or /boot\nafter mounting them and attach it to a bug report.\n\n'
-ExecStart=-/bin/sh -i -l
+ExecStart=/bin/dracut-emergency
ExecStopPost=-/bin/rm -f /.console_lock
Type=oneshot
StandardInput=tty-force