mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add ttyd support
This commit is contained in:
parent
0cb9db8072
commit
3609a59f7a
1 changed files with 2 additions and 2 deletions
|
@ -3,10 +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 ! [[ /tmp/.ttyd ]]; then
|
if ! [[ -e /tmp/.ttyd ]]; 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
|
read -r
|
||||||
: >/tmp.ttyd
|
: >/tmp.ttyd
|
||||||
fi
|
fi
|
||||||
screen -q -R
|
screen -q -R
|
||||||
|
|
Loading…
Reference in a new issue