summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff/init
diff options
context:
space:
mode:
authorDirk von Suchodoletz2007-05-05 16:46:39 +0200
committerDirk von Suchodoletz2007-05-05 16:46:39 +0200
commit5372025f1d779f8c3303794f6237059ecd8f05f0 (patch)
tree19cc7d04c5050297b45ddc5f149ae33c3424ae17 /initramfs/initrd-stuff/init
parentUpdate of Stage3 error messages ... (diff)
downloadcore-5372025f1d779f8c3303794f6237059ecd8f05f0.tar.gz
core-5372025f1d779f8c3303794f6237059ecd8f05f0.tar.xz
core-5372025f1d779f8c3303794f6237059ecd8f05f0.zip
Hope that solves the "hanging/no keyboard" X display problem: Reordering
of start scripts, devices available ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@996 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/initrd-stuff/init')
-rwxr-xr-xinitramfs/initrd-stuff/init15
1 files changed, 4 insertions, 11 deletions
diff --git a/initramfs/initrd-stuff/init b/initramfs/initrd-stuff/init
index e83b1939..463376b4 100755
--- a/initramfs/initrd-stuff/init
+++ b/initramfs/initrd-stuff/init
@@ -157,6 +157,8 @@ in $0\ncountry=\"${COUNTRY}\"" >> /etc/machine-setup
unionfs=*)
unionfs=1
uniondirs=${opts#unionfs=}
+ # most probably it is a good idea to run ldconfig, so enable it
+ ldsc="yes"
;;
# same for AUFS; alternative to unionfs
aufs)
@@ -164,6 +166,8 @@ in $0\ncountry=\"${COUNTRY}\"" >> /etc/machine-setup
aufs=*)
aufs=1
uniondirs=${opts#aufs=}
+ # most probably it is a good idea to run ldconfig, so enable it
+ ldsc="yes"
;;
# if cowloop should be used, only ontop of network block device and in
# combination with classical fs, like ext2 useful
@@ -510,17 +514,6 @@ if [ -n "${unionfs}" -o -n "${aufs}" ] ; then
mkdir -p /mnt/uniontmp
mount -n --move ${rwdir}/uniontmp /mnt/uniontmp
chmod 0755 /mnt/uniontmp /mnt
- # if additional sources should be used for a combined root filesystem
- # probably more sources should be merged into union (${union} is defined)
- # allow more than one union??
- if [ -n "${unionfs}" -o -n "${aufs}" ] ; then
- # for dir in "${union}"; do
- # testmkd /unionadd/$dir
- # mount $dir unionadd/$dir
- # unionctl mnt --add --after /mnt --mode ro /unionadd/$dir
- # most probably it is a good idea to run ldconfig, so enable it
- ldsc="yes"
- fi
# run ldconfig if not switched off via kernel command line
ldcfg
# runlevel directories should contain no links