mirror of
https://github.com/fairyglade/ly.git
synced 2025-12-20 19:24:53 +00:00
Fix dinit & s6 service + don't hardcode paths in runit service
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
@@ -8,5 +8,5 @@ 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')
|
||||
auxtty=$(cat $CONFIG_DIRECTORY/ly/config.ini 2>/dev/null 1| sed -n 's/\(^[[:space:]]*tty[[:space:]]*=[[:space:]]*\)\([[:digit:]][[:digit:]]*\)\(.*\)/\2/p')
|
||||
TTY=tty${auxtty:-$DEFAULT_TTY}
|
||||
|
||||
Reference in New Issue
Block a user