summaryrefslogtreecommitdiffstats
path: root/remote/rootfs/rootfs-stage31
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-stage31
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-stage31')
-rwxr-xr-xremote/rootfs/rootfs-stage31/data/init6
1 files changed, 6 insertions, 0 deletions
diff --git a/remote/rootfs/rootfs-stage31/data/init b/remote/rootfs/rootfs-stage31/data/init
index 198f8913..a4de8131 100755
--- a/remote/rootfs/rootfs-stage31/data/init
+++ b/remote/rootfs/rootfs-stage31/data/init
@@ -115,6 +115,12 @@ for mnt in proc sys run ; do
busybox umount -f -l "/$mnt" 2>/dev/null
done
+# make sure the splash screen is restarted in stage32
+if [ "$SPLASH" -eq 1 ]; then
+ ln -s "../fbsplash.service" "${FUTURE_ROOT}/etc/systemd/system/sysinit.target.wants/fbsplash.service"
+ killall fbsplash
+fi
+
echo "Switching root...."
echo "$bench_result" > "${FUTURE_ROOT}/opt/openslx/.benchmark"
# Prepare environment (HOME is needed as a hack for nss_ldap with ssl and no caching)