summarylogtreecommitdiffstats
path: root/bootsplash-hide-when-booted.service
blob: 1f72dd4c36463222870edb77075eaa7831524ceb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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