Fixup boot logos and bring in line with the updated piframe config setup

This commit is contained in:
KemoNine 2020-09-15 19:29:00 -04:00
parent 5b031cb8e3
commit 5820fec6ce

View file

@ -13,22 +13,6 @@ You will need to obtain your own images for these screens. Please adjust the fol
``` sh ``` sh
cat > /etc/systemd/system/fim.service <<EOF
[Unit]
Description=fim slideshow
After=getty.target
[Service]
User=fim
ExecStartPre=-/usr/bin/killall fim
ExecStart=/usr/local/bin/fim-slideshow.sh
Restart=always
RuntimeMaxSec=604800
[Install]
WantedBy=multi-user.target
EOF
cat > /etc/systemd/system/boot-logo.service <<EOF cat > /etc/systemd/system/boot-logo.service <<EOF
[Unit] [Unit]
Description=boot splash screen Description=boot splash screen
@ -37,7 +21,7 @@ After=local-fs.target
[Service] [Service]
User=fim User=fim
ExecStart=/usr/bin/fim --verbose --no-commandline --no-history --device /dev/fb0 --vt 1 --execute-commands-early "clear" --execute-commands 'display;sleep "300";quit;' --autozoom /home/fim/noun_startup_749601.png ExecStart=/usr/bin/fim --verbose --etc-fimrc /usr/local/etc/fimrc --no-commandline --no-history --device /dev/fb0 --vt 1 --execute-commands-early "clear" --execute-commands 'display;sleep "300";quit;' --autozoom /home/fim/noun_startup_749601.png
Type=exec Type=exec
[Install] [Install]
@ -53,7 +37,7 @@ Before=halt.target poweroff.target reboot.target shutdown.target
[Service] [Service]
User=fim User=fim
ExecStartPre=-/usr/bin/killall fim ExecStartPre=-/usr/bin/killall fim
ExecStart=/usr/bin/fim --verbose --no-commandline --no-history --device /dev/fb0 --vt 1 --execute-commands-early "clear" --execute-commands 'display;sleep "300";quit;' --autozoom /home/fim/noun_landing_1746270.png ExecStart=/usr/bin/fim --verbose --etc-fimrc /usr/local/etc/fimrc --no-commandline --no-history --device /dev/fb0 --vt 1 --execute-commands-early "clear" --execute-commands 'display;sleep "300";quit;' --autozoom /home/fim/noun_landing_1746270.png
Type=exec Type=exec
[Install] [Install]
@ -70,7 +54,7 @@ Before=final.target
[Service] [Service]
User=fim User=fim
ExecStartPre=-/usr/bin/killall fim ExecStartPre=-/usr/bin/killall fim
ExecStart=/usr/bin/fim --verbose --no-commandline --no-history --device /dev/fb0 --vt 1 --execute-commands-early "clear" --execute-commands 'display;sleep "300";quit;' --autozoom /home/fim/noun_unplug_601044.png ExecStart=/usr/bin/fim --verbose --etc-fimrc /usr/local/etc/fimrc --no-commandline --no-history --device /dev/fb0 --vt 1 --execute-commands-early "clear" --execute-commands 'display;sleep "300";quit;' --autozoom /home/fim/noun_unplug_601044.png
Type=exec Type=exec
[Install] [Install]
@ -78,7 +62,6 @@ WantedBy=halt.target halt.target poweroff.target reboot.target shutdown.target
EOF EOF
systemctl daemon-reload systemctl daemon-reload
systemctl enable fim.service
systemctl enable boot-logo.service systemctl enable boot-logo.service
systemctl enable halt-logo.service systemctl enable halt-logo.service
systemctl enable shutdown-logo.service systemctl enable shutdown-logo.service