Reset tty1 properly when bee-boot-status exits

Add TTYReset=yes and TTYVHangup=yes so systemd restores the terminal
to a clean state before handing tty1 to getty. Without this the screen
went black with no cursor after the status display finished.

Also remove DefaultDependencies=no which was too aggressive.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-05 19:22:01 +03:00
parent 5eb3baddb4
commit fc5c985fb5

View File

@@ -1,6 +1,5 @@
[Unit]
Description=Bee: boot status display
DefaultDependencies=no
After=systemd-user-sessions.service
Before=getty@tty1.service
@@ -12,6 +11,8 @@ TTYPath=/dev/tty1
StandardInput=tty
StandardOutput=tty
StandardError=tty
TTYReset=yes
TTYVHangup=yes
[Install]
WantedBy=multi-user.target