diff options
| author | Simon Rettberg | 2014-02-09 19:09:12 +0100 |
|---|---|---|
| committer | Simon Rettberg | 2014-02-09 19:09:12 +0100 |
| commit | bbff6d544ffd8d631bf119c297dda75bb757ead3 (patch) | |
| tree | bbf966cffa4881245874cf9376c65fc11d5375f3 /remote | |
| parent | [rfs-stage31] Some benchmarking/profiling features (diff) | |
| download | tm-scripts-bbff6d544ffd8d631bf119c297dda75bb757ead3.tar.gz tm-scripts-bbff6d544ffd8d631bf119c297dda75bb757ead3.tar.xz tm-scripts-bbff6d544ffd8d631bf119c297dda75bb757ead3.zip | |
[rfs-stage31] Last benchmark event moved before umount
Diffstat (limited to 'remote')
| -rwxr-xr-x | remote/rootfs/rootfs-stage31/data/init | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/remote/rootfs/rootfs-stage31/data/init b/remote/rootfs/rootfs-stage31/data/init index b542a715..95495684 100755 --- a/remote/rootfs/rootfs-stage31/data/init +++ b/remote/rootfs/rootfs-stage31/data/init @@ -115,13 +115,15 @@ fi # one last debug shell if activated [ $DEBUG -ge 1 ] && drop_shell "Requested Debug Shell: before switch_root." +# need /proc for this ;) +bench_event "PRESWITCH" "Switching to stage 3.2" + # unmount filesystems for mnt in proc sys run ; do busybox umount -f -l "/$mnt" 2>/dev/null done echo "Switching root...." -bench_event "PRESWITCH" "Switching to stage 3.2" echo "$bench_result" > "${FUTURE_ROOT}/opt/openslx/.benchmark" # Prepare environment (HOME is needed as a hack for nss_ldap with ssl and no caching) unset BOOT_IMAGE initrd KCL ip slxbase slxsrv IPINFO vga ip MAC BOOTIF DEBUG OLDPWD |
