summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff/bin/servconfig
diff options
context:
space:
mode:
authorOliver Tappe2007-05-06 00:43:26 +0200
committerOliver Tappe2007-05-06 00:43:26 +0200
commit2879d8906ed019d0e8f1c1ed108623a76d593380 (patch)
tree50620f0ace743d8a08d52a2cbcb76885b11f09c6 /initramfs/initrd-stuff/bin/servconfig
parent* fixed syntax problems (diff)
downloadcore-2879d8906ed019d0e8f1c1ed108623a76d593380.tar.gz
core-2879d8906ed019d0e8f1c1ed108623a76d593380.tar.xz
core-2879d8906ed019d0e8f1c1ed108623a76d593380.zip
* 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
Diffstat (limited to 'initramfs/initrd-stuff/bin/servconfig')
-rwxr-xr-xinitramfs/initrd-stuff/bin/servconfig7
1 files changed, 3 insertions, 4 deletions
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)