From 9e07c124e4aa4140f074ea5201d559eae5ad874b Mon Sep 17 00:00:00 2001 From: Simon Pflaumer Date: Sun, 5 Nov 2023 14:39:49 +0000 Subject: [PATCH] add instructions for dinit --- readme.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/readme.md b/readme.md index 820741f..9652dc7 100644 --- a/readme.md +++ b/readme.md @@ -135,6 +135,21 @@ The agetty service for the tty console where you are running ly should be disabl # rm /var/service/agetty-tty2 ``` +### dinit + +``` +$ make +# make install installdinit +# dinitctl enable ly +``` + +In addition to the steps above, you will also have to keep a tty free within `/etc/dinit.d/config/console.conf`. +~~To do that, change `ACTIVE_CONSOLES` so that the tty that ly should use in `/etc/ly/config.ini` is free.~~ +`ly` seems to ignore or something else is preventing the use of the `tty` option within `/etc/ly/config.ini` for any tty other than `tty1`. +As such, `ACTIVE_CONSOLES` should be changed to keep tty1 free. +For example by changing the default `/dev/tty[1-6]` to `/dev/tty[2-6]`. + + ## Arch Linux Installation You can install ly from the [`[extra]` repos](https://archlinux.org/packages/extra/x86_64/ly/): ```