Prevent kiosk and getty tty1 race

This commit is contained in:
Mikei386
2026-08-11 08:59:23 +02:00
parent 48578c5919
commit 07563c3b11
5 changed files with 29 additions and 4 deletions
+5
View File
@@ -51,8 +51,13 @@ install -o root -g root -m 0440 \
"$SUDOERS_SOURCE" \
/etc/sudoers.d/phoenix-update-volumio
# tty1 is reserved for Xorg by analyzer-kiosk-volumio.service. Disabling the
# generated getty is insufficient because systemd may create/start it again on
# a later boot. Mask it so the kiosk and agetty can never race for the VT.
systemctl mask --now getty@tty1.service
systemctl daemon-reload
systemctl enable analyzer-web-volumio.service analyzer-kiosk-volumio.service
echo "Volumio integration installed"
echo "getty@tty1.service masked; run 'systemctl unmask getty@tty1.service' to restore the tty1 login console"
echo "Existing services were not restarted"