From bb3fd59b0b521a0197ab22f638d4870bf477d3d1 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Sun, 29 Apr 2007 22:08:00 +0000 Subject: 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 --- initramfs/initrd-stuff/etc/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'initramfs/initrd-stuff/etc/functions') 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 -- cgit v1.2.3-55-g7522