summaryrefslogtreecommitdiffstats
path: root/core/rootfs/rootfs-stage31/data/init
diff options
context:
space:
mode:
authorSimon Rettberg2018-05-04 11:41:26 +0200
committerSimon Rettberg2018-05-04 11:41:26 +0200
commitc893145e65bdea2d44bf95bcd5b130d4fabb5055 (patch)
treeab851146fce492c29ceb716d38d5dea0b7ad6627 /core/rootfs/rootfs-stage31/data/init
parent[rfs-stage31] Don't try to source config before downloading it... (diff)
downloadmltk-c893145e65bdea2d44bf95bcd5b130d4fabb5055.tar.gz
mltk-c893145e65bdea2d44bf95bcd5b130d4fabb5055.tar.xz
mltk-c893145e65bdea2d44bf95bcd5b130d4fabb5055.zip
[rfs-stage31] Fix race when syncing time, more network setup tweaks
Diffstat (limited to 'core/rootfs/rootfs-stage31/data/init')
-rwxr-xr-xcore/rootfs/rootfs-stage31/data/init3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/rootfs/rootfs-stage31/data/init b/core/rootfs/rootfs-stage31/data/init
index 4caf653c..2269014c 100755
--- a/core/rootfs/rootfs-stage31/data/init
+++ b/core/rootfs/rootfs-stage31/data/init
@@ -178,6 +178,9 @@ for mnt in run tmp; do
busybox umount -f -l "/$mnt" 2>/dev/null
done
+echo "Waiting for async processes..."
+wait
+
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)