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/servconfig12
1 files changed, 9 insertions, 3 deletions
diff --git a/initramfs/initrd-stuff/bin/servconfig b/initramfs/initrd-stuff/bin/servconfig
index 9440b405..98bb6943 100755
--- a/initramfs/initrd-stuff/bin/servconfig
+++ b/initramfs/initrd-stuff/bin/servconfig
@@ -60,8 +60,14 @@ cp -a /rootfs/* /mnt 2>/dev/null
# set greeting and add information on booted system
len=$(expr length ${SLXVERSION}${SYSTEM_NAME})
-vdstr="V${SLXVERSION}/${SYSTEM_NAME})"
-while [ $len -le 28 ] ; do
+if [ $len -le 28 ] ; then
+ vdstr="Stateless Workstation (V${SLXVERSION}/${SYSTEM_NAME})"
+ smax=28
+else
+ vdstr="V${SLXVERSION}/${SYSTEM_NAME}"
+ smax=52
+fi
+while [ $len -le $smax ] ; do
vdstr="$vdstr "
len=$(expr $len + 1)
done
@@ -79,7 +85,7 @@ echo "
| |_| | | | |___| | | | ____| | |___ / /
_____/|__| |______|__| |__| |_______|______|__| |__|
- Stateless Workstation ($vdstr (c) <OpenSLX.ORG>
+ $vdstr (c) <OpenSLX.ORG>
">/mnt/etc/issue
#############################################################################