summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff/etc/functions
diff options
context:
space:
mode:
authorDirk von Suchodoletz2007-04-30 00:08:00 +0200
committerDirk von Suchodoletz2007-04-30 00:08:00 +0200
commitbb3fd59b0b521a0197ab22f638d4870bf477d3d1 (patch)
tree3e63c2c6251e14b6478e2408a5f575b2ed8acfbd /initramfs/initrd-stuff/etc/functions
parentFixed error from removing of "MAC", check the usage of macaddr for XEN! (diff)
downloadcore-bb3fd59b0b521a0197ab22f638d4870bf477d3d1.tar.gz
core-bb3fd59b0b521a0197ab22f638d4870bf477d3d1.tar.xz
core-bb3fd59b0b521a0197ab22f638d4870bf477d3d1.zip
Change of behaviour for ld.so.cache generation (done by default in
Stage1). It can be requested for stage3 by setting of "ldsc" in kernel commandline. "noldsc" is deprecated from this version on ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@966 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/initrd-stuff/etc/functions')
-rw-r--r--initramfs/initrd-stuff/etc/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/initramfs/initrd-stuff/etc/functions b/initramfs/initrd-stuff/etc/functions
index 9f5ed45b..fa4f2ba4 100644
--- a/initramfs/initrd-stuff/etc/functions
+++ b/initramfs/initrd-stuff/etc/functions
@@ -114,7 +114,7 @@ echo "${uptime} s."
#############################################################################
# (re)generate dynamic linked libraries cache from /etc/ld.so.conf
ldcfg () {
-[ -z "${noldsc}" ] && echo -e "$init_ldcfg" && ldconfig /tmp/ld.so.cache &
+[ -n "${ldsc}" ] && echo -e "$init_ldcfg" && ldconfig /tmp/ld.so.cache &
}
#############################################################################
# URI interpreter $1 variable to interprete, $2 type of token to return