Hi all
With some great help in the Raspberry Pi forum I've managed to get plymouth-lite working to provide a boot up splash screen. I have also enabled the service which provides a shutdown splash screen when the machine is shutting down. The problem I now have is that shutting down splash stays on the screen even after the machine has (presumably) reached runlevel 0. Here is my power off service:
$this->bbcode_second_pass_code('', '[Unit]
Description=Show Plymouth-lite Poweroff Screen
DefaultDependencies=no
Before=poweroff.service
After=plymouth-lite-start.service
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/chvt 6 ; /usr/bin/ply-image /usr/share/plymouth/nintendo-wide.png
[Install]
WantedBy=poweroff.target
')
The image exists and is accessible. I have enabled the service using:
$this->bbcode_second_pass_code('', '# systemctl enable plymouth-lite-poweroff')
Here is the reported status of the service:
$this->bbcode_second_pass_code('', '# systemctl status plymouth-lite-poweroff
* plymouth-lite-poweroff.service - Show Plymouth-lite Poweroff Screen
Loaded: loaded (/etc/systemd/system/plymouth-lite-poweroff.service; enabled)
Active: inactive (dead)')
I'm assuming it's ok for it to say "inactive (dead)" since my shutdown image service shows the same status and works just fine. I don't know how to check if there are any errors occurring during the running of the power off service (if it even runs) since the machine has halted by that point.
Any help would be much appreciated!