Added tty to TTY var.

Fixed typo in ly call.
This commit is contained in:
MadcowOG 2022-07-08 12:56:00 -07:00
parent 86e13dfe62
commit 7ba8b88f3e
1 changed files with 2 additions and 2 deletions

View File

@ -24,12 +24,12 @@ CONFTTY=$(cat /etc/ly/config.ini | grep tty | grep -v '#' | sed -e 's/tty = //'
## The execution vars
# If CONFTTY is empty then default to 2
TTY=${CONFTTY:-"2"}
TTY="tty${CONFTTY:-'2'}"
TERM=linux
BAUD=38400
# If we don't have getty then we should have agetty
command=${commandB:-$commandUL}
command_args_foreground="-nl /usr/bin/ty ${TTY} ${BAUD} ${TERM}"
command_args_foreground="-nl /usr/bin/ly ${TTY} ${BAUD} ${TERM}"
depend() {
after agetty