From 2f331ecba02e3cb8831f86e1dd909dbc4b1a6b59 Mon Sep 17 00:00:00 2001 From: Michael Janczyk Date: Wed, 10 Feb 2010 18:16:51 +0100 Subject: 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? --- initramfs/stage3-stuff/init | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'initramfs/stage3-stuff/init') 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)" -- cgit v1.2.3-55-g7522