summaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-core/recipes-core/psplash/files/psplash-start.service
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-profile-core/recipes-core/psplash/files/psplash-start.service')
-rw-r--r--meta-agl-profile-core/recipes-core/psplash/files/psplash-start.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-agl-profile-core/recipes-core/psplash/files/psplash-start.service b/meta-agl-profile-core/recipes-core/psplash/files/psplash-start.service
new file mode 100644
index 000000000..d3b6940d0
--- /dev/null
+++ b/meta-agl-profile-core/recipes-core/psplash/files/psplash-start.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Start Psplash Boot Screen
+Wants=systemd-vconsole-setup.service
+After=systemd-vconsole-setup.service systemd-udev-trigger.service systemd-udevd.service
+DefaultDependencies=no
+
+[Service]
+ExecStartPre=/bin/sh -c "if [ -e /sys/class/graphics/fbcon/cursor_blink ]; then echo 0 > /sys/class/graphics/fbcon/cursor_blink; fi"
+ExecStart=/bin/bash -c "/usr/bin/psplash-anim -n -a 90"
+
+[Install]
+WantedBy=sysinit.target