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

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

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

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