summaryrefslogtreecommitdiffstats
path: root/initramfs/stage3-stuff/etc/functions
diff options
context:
space:
mode:
authorMichael Janczyk2008-10-14 20:21:54 +0200
committerMichael Janczyk2008-10-14 20:21:54 +0200
commit056e7b79e394ec41456205606b9acf91dd24fc7e (patch)
tree50b2fd0ca3e623ea5b980e39e7f662eff04d2923 /initramfs/stage3-stuff/etc/functions
parent * fix for #212 (diff)
downloadcore-056e7b79e394ec41456205606b9acf91dd24fc7e.tar.gz
core-056e7b79e394ec41456205606b9acf91dd24fc7e.tar.xz
core-056e7b79e394ec41456205606b9acf91dd24fc7e.zip
added link to ld-linux
removed bug which caused function to break aftet checking xfs git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2296 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/stage3-stuff/etc/functions')
-rw-r--r--initramfs/stage3-stuff/etc/functions3
1 files changed, 2 insertions, 1 deletions
diff --git a/initramfs/stage3-stuff/etc/functions b/initramfs/stage3-stuff/etc/functions
index 723131f6..d84c3056 100644
--- a/initramfs/stage3-stuff/etc/functions
+++ b/initramfs/stage3-stuff/etc/functions
@@ -212,6 +212,7 @@ local target=$1
local mntpnt=$2
local fs
local path
+[ -f /lib/ld-linux.so.2 ] || ln -s /mnt/lib/ld-linux.so.2 /lib/ld-linux.so.2
for fs in xfs ext2 reiserfs ; do
if strinfile "$fs" /proc/filesystems || modprobe ${MODPRV} $fs ; then
unset $found
@@ -248,7 +249,7 @@ for fs in xfs ext2 reiserfs ; do
fi
fi
done
- [ -z $found ] && break
+ [ -z $found ] && continue
else break
fi
done