summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff/bin/servconfig
diff options
context:
space:
mode:
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)