Remove config TTY options in OpenRC & runit services

Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion committed 2025-10-17 23:08:15 +02:00
1 parent 657daafec8
commit bb669c239c
2 files changed
+2 -8

No files matched your search

+1 -5
View File
@@ -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