Skip to content

Commit

Permalink
Added tty to TTY var.
Browse files Browse the repository at this point in the history
Fixed typo in ly call.
  • Loading branch information
MadcowOG committed Jul 8, 2022
1 parent 86e13df commit 7ba8b88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions res/ly-openrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7ba8b88

Please sign in to comment.