summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff/bin
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/bin
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/bin')
-rwxr-xr-xinitramfs/initrd-stuff/bin/servconfig5
1 files changed, 3 insertions, 2 deletions
diff --git a/initramfs/initrd-stuff/bin/servconfig b/initramfs/initrd-stuff/bin/servconfig
index ca1ccbb3..42fb0f4a 100755
--- a/initramfs/initrd-stuff/bin/servconfig
+++ b/initramfs/initrd-stuff/bin/servconfig
@@ -59,8 +59,9 @@ cfgcomplete
cp -a /rootfs/* /mnt 2>/dev/null
# set greeting and add information on booted system (distro)
-len=$(expr length ${SLXVERSION}${DISTRO})
-vdstr="V${SLXVERSION}/${DISTRO})"
+distroname=${DISTRO%-*}
+len=$(expr length ${SLXVERSION}${distroname})
+vdstr="V${SLXVERSION}/${distroname})"
while [ $len -le 28 ] ; do
vdstr="$vdstr "
len=$(expr $len + 1)