Add basic FreeBSD service, change default fallback TTY to 2

Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion
2025-10-18 00:46:09 +02:00
parent 02f5aa702d
commit a3a8f11575
3 changed files with 51 additions and 1 deletions

View File

@@ -38,6 +38,12 @@ It is recommended to add a rule for Ly as it currently does not ship one.
# dnf install kernel-devel pam-devel libxcb-devel zig xorg-x11-xauth xorg-x11-server brightnessctl
```
### FreeBSD
```
# pkg install ca_root_nss libxcb git
```
## Packaging status
[![Packaging status](https://repology.org/badge/vertical-allrepos/ly.svg?exclude_unsupported=1)](https://repology.org/project/ly/versions)
@@ -169,6 +175,16 @@ To disable TTY 2, go to `/etc/dinit.d/config/console.conf` and modify
To disable TTY 2, go to `/etc/inittab` and comment out the line containing `tty2`.
### FreeBSD
```
# zig build installexe -Dprefix_directory=/usr/local
# sysrc lightdm_enable="NO"
# sysrc ly_enable="YES"
```
To disable TTY 2, go to `/etc/ttys` and comment out the line starting with `ttyv2`.
### Updating
You can also install Ly without overrding the current configuration file. This