Add ly-git

This commit is contained in:
Marty Oehme 2025-02-24 17:48:22 +01:00
parent 50f47ad1de
commit 66a92b7857
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
4 changed files with 65 additions and 0 deletions

12
ly-git/files/ly/conf Normal file
View file

@ -0,0 +1,12 @@
if [ -x /sbin/agetty -o -x /bin/agetty ]; then
# util-linux specific settings
if [ "${tty}" = "tty1" ]; then
GETTY_ARGS="--noclear"
fi
fi
BAUD_RATE=38400
TERM_NAME=linux
auxtty=$(/bin/cat $CONFIG_DIRECTORY/ly/config.ini 2>/dev/null 1| /bin/sed -n 's/\(^[[:space:]]*tty[[:space:]]*=[[:space:]]*\)\([[:digit:]][[:digit:]]*\)\(.*\)/\2/p')
TTY=tty${auxtty:-$DEFAULT_TTY}