From 2879d8906ed019d0e8f1c1ed108623a76d593380 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sat, 5 May 2007 22:43:26 +0000 Subject: * added option -S to mkdxsinitrd in order to pass in the system name * replaced $DISTRO by $DISTRO_NAME and $DISTRO_VER * added $SYSTEM_NAME and used it at a couple of places where $DISTRO was used before * removed the two tries to fetch the config-tgz without any system name, as these are never generated by the demuxer anyway. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1007 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/initrd-stuff/bin/servconfig | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'initramfs/initrd-stuff/bin/servconfig') diff --git a/initramfs/initrd-stuff/bin/servconfig b/initramfs/initrd-stuff/bin/servconfig index 42fb0f4a..4b9ee775 100755 --- a/initramfs/initrd-stuff/bin/servconfig +++ b/initramfs/initrd-stuff/bin/servconfig @@ -58,10 +58,9 @@ cfgcomplete # ... in the near future ... cp -a /rootfs/* /mnt 2>/dev/null -# set greeting and add information on booted system (distro) -distroname=${DISTRO%-*} -len=$(expr length ${SLXVERSION}${distroname}) -vdstr="V${SLXVERSION}/${distroname})" +# set greeting and add information on booted system +len=$(expr length ${SLXVERSION}${SYSTEM_NAME}) +vdstr="V${SLXVERSION}/${SYSTEM_NAME})" while [ $len -le 28 ] ; do vdstr="$vdstr " len=$(expr $len + 1) -- cgit v1.2.3-55-g7522