From 085af5a41fd62447435a8e32a8d6bb73d62d75fe Mon Sep 17 00:00:00 2001 From: Lukas Rusak Date: Tue, 12 Jan 2016 06:35:41 +0100 Subject: [PATCH 1/2] Revert "banner: fix whitespace padding" This reverts commit dd2e7472a70a35fa3402a0d787189aea3f362bb1. --- distributions/OpenELEC/options | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distributions/OpenELEC/options b/distributions/OpenELEC/options index 279e2bcdda..471958ec23 100644 --- a/distributions/OpenELEC/options +++ b/distributions/OpenELEC/options @@ -6,8 +6,8 @@ # Welcome Message for e.g. SSH Server (up to 5 Lines) GREETING0="##############################################" - GREETING1="# ................ OpenELEC ................ #" - GREETING2="# ........... http://openelec.tv ........... #" + GREETING1="# OpenELEC #" + GREETING2="# http://openelec.tv #" GREETING3="##############################################" GREETING4="" From 7ea1999d22d4e42332ded8c9a31fc815f228cee2 Mon Sep 17 00:00:00 2001 From: dolorosus Date: Mon, 11 Jan 2016 21:50:48 +0100 Subject: [PATCH 2/2] Quoting variables to preserve whitespaces in banner --- scripts/image | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/image b/scripts/image index f6534d5d1a..4e539fe1f6 100755 --- a/scripts/image +++ b/scripts/image @@ -109,11 +109,11 @@ fi fi # create /etc/issue - echo $GREETING0 > $INSTALL/etc/issue - echo $GREETING1 >> $INSTALL/etc/issue - echo $GREETING2 >> $INSTALL/etc/issue - echo $GREETING3 >> $INSTALL/etc/issue - echo $GREETING4 >> $INSTALL/etc/issue + echo "$GREETING0" > $INSTALL/etc/issue + echo "$GREETING1" >> $INSTALL/etc/issue + echo "$GREETING2" >> $INSTALL/etc/issue + echo "$GREETING3" >> $INSTALL/etc/issue + echo "$GREETING4" >> $INSTALL/etc/issue echo "$DISTRONAME ($([ "$OFFICIAL" = "yes" ] && echo "official" || echo "community")) Version: $OPENELEC_VERSION" >> $INSTALL/etc/issue if [ -n "$GIT_HASH" ]; then echo "$DISTRONAME git: $GIT_HASH" >> $INSTALL/etc/issue