Prevent kiosk and getty tty1 race
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user