diff --git a/res/ly-dinit b/res/ly-dinit index 016929a..53ef1dd 100644 --- a/res/ly-dinit +++ b/res/ly-dinit @@ -1,8 +1,8 @@ type = process restart = true smooth-recovery = true -command = $PREFIX_DIRECTORY/bin/$EXE_NAME +command = $PREFIX_DIRECTORY/bin/$EXECUTABLE_NAME depends-on = login.target termsignal = HUP -# ly needs access to the console while loginready already occupies it +# ly needs access to the console while login.target already occupies it options = shares-console diff --git a/res/ly-runit-service/conf b/res/ly-runit-service/conf index 76ceb87..fca1c76 100644 --- a/res/ly-runit-service/conf +++ b/res/ly-runit-service/conf @@ -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} diff --git a/res/ly-s6/run b/res/ly-s6/run index e63826f..1b8aa0d 100644 --- a/res/ly-s6/run +++ b/res/ly-s6/run @@ -1,2 +1,2 @@ #!/bin/execlineb -P -exec agetty -L -8 -n -l $PREFIX_DIRECTORY/bin/$EXE_NAME tty$DEFAULT_TTY 115200 +exec agetty -L -8 -n -l $PREFIX_DIRECTORY/bin/$EXECUTABLE_NAME tty$DEFAULT_TTY 115200