mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
show MOTD on ttyd if setup is not running
This commit is contained in:
parent
dc239f8f03
commit
b4354e195d
1 changed files with 1 additions and 2 deletions
|
@ -3,11 +3,10 @@
|
|||
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
||||
|
||||
# simulate login from tty
|
||||
if ! [[ -e /tmp/.ttyd ]]; then
|
||||
if ! [[ -e /tmp/.setup-running ]]; then
|
||||
cat /etc/motd
|
||||
echo -e "Hit \e[1m\e[92mENTER\e[m for \e[1mshell\e[m login."
|
||||
read -r
|
||||
: >/tmp/.ttyd
|
||||
fi
|
||||
. /etc/profile
|
||||
screen -q -R
|
||||
|
|
Loading…
Reference in a new issue