mirror of
https://github.com/fairyglade/ly.git
synced 2025-12-20 19:24:53 +00:00
Remove config TTY options in OpenRC & runit services
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
@@ -19,12 +19,8 @@ then
|
||||
commandUL="/sbin/agetty"
|
||||
fi
|
||||
|
||||
## Get the tty from the conf file
|
||||
CONFTTY=$(cat $CONFIG_DIRECTORY/ly/config.ini | sed -n 's/^tty.*=[^1-9]*// p')
|
||||
|
||||
## The execution vars
|
||||
# If CONFTTY is empty then default to $DEFAULT_TTY
|
||||
TTY="tty${CONFTTY:-$DEFAULT_TTY}"
|
||||
TTY="tty$DEFAULT_TTY"
|
||||
TERM=linux
|
||||
BAUD=38400
|
||||
# If we don't have getty then we should have agetty
|
||||
|
||||
Reference in New Issue
Block a user