summaryrefslogtreecommitdiffstats
path: root/initramfs/stage3-stuff/init
diff options
context:
space:
mode:
authorDirk von Suchodoletz2009-03-15 23:59:12 +0100
committerDirk von Suchodoletz2009-03-15 23:59:12 +0100
commite064153118773899132ee03f3ce08bd7148cceb2 (patch)
treefcd0d564d30ecf092debd6c28c294c919790e4f4 /initramfs/stage3-stuff/init
parentforgot to remove 5.0 in nvram.5.0 (diff)
downloadcore-e064153118773899132ee03f3ce08bd7148cceb2.tar.gz
core-e064153118773899132ee03f3ce08bd7148cceb2.tar.xz
core-e064153118773899132ee03f3ce08bd7148cceb2.zip
Boot timer output added (debug level 8) ...
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2740 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/stage3-stuff/init')
-rwxr-xr-xinitramfs/stage3-stuff/init12
1 files changed, 12 insertions, 0 deletions
diff --git a/initramfs/stage3-stuff/init b/initramfs/stage3-stuff/init
index 34f0c403..af2ef2ca 100755
--- a/initramfs/stage3-stuff/init
+++ b/initramfs/stage3-stuff/init
@@ -691,6 +691,9 @@ else
error "$init_loadaufs" nonfatal
unset aufs unionfs
fi
+# runtimer
+[ $DEBUGLEVEL -eq 8 -o $DEBUGLEVEL -eq 20 ] && \
+ echo "** Filesystem setup started at $(sysup)"
# setup of client root filesystem dependent on the availability of UnionFS
if [ -n "${union_type}" ] ; then
@@ -764,6 +767,9 @@ runinithook '50-have-layered-fs'
# script for stuff to execute during early bootup
d_mkrlscript init boot.slx "Running configuration postponed from InitRamFS"
echo "fs complete at $(sysup)" >/tmp/fscmpl
+# runtimer
+[ $DEBUGLEVEL -eq 8 -o $DEBUGLEVEL -eq 20 ] && \
+ echo "** Filesystem setup completed at $(sysup)"
# write debug file information after filesystem setup completed
echo -e "# /etc${D_SYSCONFDIR}/logfile - file created by $0 (initramfs \
@@ -846,6 +852,9 @@ if [ -n "$uniondirs" ]; then
fi
runinithook '70-before-plugins'
+# runtimer
+[ $DEBUGLEVEL -eq 8 -o $DEBUGLEVEL -eq 20 ] && \
+ echo "** Plugin configuration started at $(sysup)"
# check for any plugin-specific runlevel scripts and run them, if found:
if [ ${DEBUGLEVEL} = 25 ] ; then
@@ -874,6 +883,9 @@ else
fi
runinithook '80-after-plugins'
+# runtimer
+[ $DEBUGLEVEL -eq 8 -o $DEBUGLEVEL -eq 20 ] && \
+ echo "** Plugin configuration finished at $(sysup)"
# create links for initial stage4 boot scripts
initial_boot