diff options
author | Dirk von Suchodoletz | 2007-07-01 00:27:51 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2007-07-01 00:27:51 +0200 |
commit | d9cac76fee8b375f70eabfb6498cf06d066c6ebe (patch) | |
tree | 6cf4d34dae655920384b45b4c8cde2a6b153d411 /initramfs/initrd-stuff/bin/servconfig | |
parent | * removed a comment that is no longer true (diff) | |
download | core-d9cac76fee8b375f70eabfb6498cf06d066c6ebe.tar.gz core-d9cac76fee8b375f70eabfb6498cf06d066c6ebe.tar.xz core-d9cac76fee8b375f70eabfb6498cf06d066c6ebe.zip |
Better formatting of SLX version string in issue file. Fixes in pcitable
file (snd- ...), see #100
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1199 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/initrd-stuff/bin/servconfig')
-rwxr-xr-x | initramfs/initrd-stuff/bin/servconfig | 12 |
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 ############################################################################# |