mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50: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>
|
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
||||||
|
|
||||||
# simulate login from tty
|
# simulate login from tty
|
||||||
if ! [[ -e /tmp/.ttyd ]]; then
|
if ! [[ -e /tmp/.setup-running ]]; then
|
||||||
cat /etc/motd
|
cat /etc/motd
|
||||||
echo -e "Hit \e[1m\e[92mENTER\e[m for \e[1mshell\e[m login."
|
echo -e "Hit \e[1m\e[92mENTER\e[m for \e[1mshell\e[m login."
|
||||||
read -r
|
read -r
|
||||||
: >/tmp/.ttyd
|
|
||||||
fi
|
fi
|
||||||
. /etc/profile
|
. /etc/profile
|
||||||
screen -q -R
|
screen -q -R
|
||||||
|
|
Loading…
Reference in a new issue