aboutsummarylogtreecommitdiffstats
path: root/bootsplash-hide-when-booted.service
diff options
context:
space:
mode:
authorAnge Kevin Amlaman2019-08-03 05:30:59 +0000
committerAnge Kevin Amlaman2019-08-03 05:30:59 +0000
commitaa67a5b80c31de78452de408d5093fecb875aea3 (patch)
tree6f6c2fcc3f4ee93cdf14fa43fda76b824e6eef06 /bootsplash-hide-when-booted.service
downloadaur-aa67a5b80c31de78452de408d5093fecb875aea3.tar.gz
Initial commit
Diffstat (limited to 'bootsplash-hide-when-booted.service')
-rw-r--r--bootsplash-hide-when-booted.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/bootsplash-hide-when-booted.service b/bootsplash-hide-when-booted.service
new file mode 100644
index 000000000000..1f72dd4c3646
--- /dev/null
+++ b/bootsplash-hide-when-booted.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Hide bootsplash after starting the system
+After=graphical.target
+DefaultDependencies=no
+ConditionPathExists=/sys/devices/platform/bootsplash.0/enabled
+
+[Service]
+ExecStartPre=/bin/sh -c 'exec /bin/sleep 15'
+ExecStart=/bin/sh -c 'exec /bin/echo off > /sys/devices/platform/bootsplash.0/enabled'
+Restart=no
+Type=oneshot
+
+[Install]
+WantedBy=graphical.target