summaryrefslogtreecommitdiffstats
path: root/initramfs/stage3-stuff/init
diff options
context:
space:
mode:
authorMichael Janczyk2010-02-10 18:16:51 +0100
committerMichael Janczyk2010-02-10 18:16:51 +0100
commit2f331ecba02e3cb8831f86e1dd909dbc4b1a6b59 (patch)
tree6a49fb091abae175b0ce7342e5783437269e23b3 /initramfs/stage3-stuff/init
parentTrivial: Remove SVN stuff from VERSIONS file ... (diff)
downloadcore-2f331ecba02e3cb8831f86e1dd909dbc4b1a6b59.tar.gz
core-2f331ecba02e3cb8831f86e1dd909dbc4b1a6b59.tar.xz
core-2f331ecba02e3cb8831f86e1dd909dbc4b1a6b59.zip
adding openslx log dir
adding virtio net support, timing issues when virtio_pci not loaded before virtio_net do we really modprobe nics before pci?
Diffstat (limited to 'initramfs/stage3-stuff/init')
-rwxr-xr-xinitramfs/stage3-stuff/init8
1 files changed, 8 insertions, 0 deletions
diff --git a/initramfs/stage3-stuff/init b/initramfs/stage3-stuff/init
index a96c66e0..b28f1138 100755
--- a/initramfs/stage3-stuff/init
+++ b/initramfs/stage3-stuff/init
@@ -379,6 +379,7 @@ else
fi
runinithook '10-nw-if-config'
+
# check for multiple ethernet interfaces (we have at least the mac of PXE boot
# device in $bootmac)
# check here for the active ethernet link (skip non-ethN interfaces)
@@ -410,6 +411,7 @@ if strinstr "eth" "$nwif" ; then
done
fi
# hook to setup bridging (several virtualization tools ...)
+
runinithook '20-nw-bridge-config'
# set up loopback networking
@@ -802,6 +804,11 @@ fi
runinithook '50-have-layered-fs'
+# logdir
+. /mnt/etc/opt/openslx/openslx.conf
+testmkd /mnt/${OPENSLX_DEFAULT_LOGDIR}
+chmod -R 1777 /mnt/${OPENSLX_DEFAULT_LOGDIR} # testmkd 1777 seems not to work
+
# 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
@@ -927,6 +934,7 @@ else
fi
runinithook '80-after-plugins'
+
# runtimer
[ $DEBUGLEVEL -eq 8 -o $DEBUGLEVEL -eq 20 ] && \
echo "** Plugin configuration finished at $(sysup)"