Posts: 6
Joined: Tue Dec 14, 2021 6:14 pm

Blanking the local terminal on boot

Wed Nov 29, 2023 11:46 am

Could anyone help me blank the local terminal on bootup? I need the screen completely blank before a fullscreen app opens.
I've removed everything but I still have -

Code: Select all

I can manually remove it using

Code: Select all

sudo sh -c "TERM=linux setterm -foreground black -clear all >/dev/tty0"
but putting this in sudo crontab -e, a systemctl script, or /etc/rc.local isn't working.

The service works if I run it manually, sudo systemctl start black.service so I think it's just a timing issue, can I make it wait for the user to logon?

Return to “Raspberry Pi OS”