#!/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
