summaryrefslogtreecommitdiffstats
path: root/remote/rootfs/rootfs-stage32/data/etc
diff options
context:
space:
mode:
authorSimon Rettberg2014-02-25 20:00:41 +0100
committerSimon Rettberg2014-02-25 20:00:41 +0100
commit5f2d260827c525375bb72f24d960eaa4013dc206 (patch)
treef95f1f3402bd26bcabaabcc3d79d2f399839cf33 /remote/rootfs/rootfs-stage32/data/etc
parent[rfs-stage32] setup-partitions: Remove old Wait 3 seconds" hack (diff)
downloadtm-scripts-5f2d260827c525375bb72f24d960eaa4013dc206.tar.gz
tm-scripts-5f2d260827c525375bb72f24d960eaa4013dc206.tar.xz
tm-scripts-5f2d260827c525375bb72f24d960eaa4013dc206.zip
Restart splash screen in stage32 (if booting with splashscreen enabled)
Diffstat (limited to 'remote/rootfs/rootfs-stage32/data/etc')
-rw-r--r--remote/rootfs/rootfs-stage32/data/etc/systemd/system/fbsplash.service10
-rw-r--r--remote/rootfs/rootfs-stage32/data/etc/systemd/system/killsplash.service2
2 files changed, 12 insertions, 0 deletions
diff --git a/remote/rootfs/rootfs-stage32/data/etc/systemd/system/fbsplash.service b/remote/rootfs/rootfs-stage32/data/etc/systemd/system/fbsplash.service
new file mode 100644
index 00000000..39d56ec0
--- /dev/null
+++ b/remote/rootfs/rootfs-stage32/data/etc/systemd/system/fbsplash.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Revive fbsplash splash-screen
+DefaultDependencies=no
+After=systemd-tmpfiles-setup-dev.service
+Before=sysinit.target
+
+[Service]
+ExecStart=/opt/openslx/sbin/fbsplash -x -c -s /etc/splash.ppm
+ExecStop=/opt/openslx/usr/bin/killall fbsplash
+
diff --git a/remote/rootfs/rootfs-stage32/data/etc/systemd/system/killsplash.service b/remote/rootfs/rootfs-stage32/data/etc/systemd/system/killsplash.service
index c3e088c8..1759b798 100644
--- a/remote/rootfs/rootfs-stage32/data/etc/systemd/system/killsplash.service
+++ b/remote/rootfs/rootfs-stage32/data/etc/systemd/system/killsplash.service
@@ -5,6 +5,8 @@ DefaultDependencies=no
[Service]
Type=oneshot
+ExecStart=-/usr/bin/systemctl stop fbsplash.service
ExecStart=-/opt/openslx/usr/bin/killall fbsplash
ExecStart=/opt/openslx/bin/true
RemainAfterExit=no
+