summaryrefslogtreecommitdiff
path: root/src/sulogin-shell/systemd-sulogin-shell.in
blob: d4f32af5f9876965765dec247b612320ff395e48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

if [ -x /bin/plymouth ]; then
    /bin/plymouth --wait quit
fi

cat <<EOF
You are in $1 mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or ^D to
boot into default mode.
EOF

@SULOGIN@
@SYSTEMCTL@ --job-mode=fail --no-block default