chiark / gitweb /
rules: call 'hwdb' with --subsystem= where appropriate
[elogind.git] / units / emergency.service.in
index 87864f1c53f348aba879792c43d4d2b0a1312da0..1815f9d80f4aa4ebc9f953b19eab3105e1e157a5 100644 (file)
@@ -7,6 +7,7 @@
 
 [Unit]
 Description=Emergency Shell
+Documentation=man:sulogin(8)
 DefaultDependencies=no
 Conflicts=shutdown.target
 Before=shutdown.target
@@ -15,7 +16,7 @@ Before=shutdown.target
 Environment=HOME=/root
 WorkingDirectory=/root
 ExecStartPre=-/bin/plymouth quit
-ExecStartPre=-/bin/echo 'Welcome to emergency mode. Use "systemctl default" or ^D to enter default mode.'
+ExecStartPre=-/bin/echo -e 'Welcome to emergency mode! Type "systemctl default" or ^D to enter default mode.\\nType "journalctl -b" to view system logs. Type "systemctl reboot" to reboot.'
 ExecStart=-/sbin/sulogin
 ExecStopPost=@SYSTEMCTL@ --fail --no-block default
 Type=idle