From 2461e67dd820ab417890566d179a28e11ce46457 Mon Sep 17 00:00:00 2001 From: Lukas Rusak Date: Tue, 12 Jan 2016 06:33:27 +0100 Subject: [PATCH 1/2] Revert "banner: fix whitespace padding" This reverts commit 7e5f2557b3a00e8c2b6715f03bd5449526ecca61. --- distributions/OpenELEC/options | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distributions/OpenELEC/options b/distributions/OpenELEC/options index 73962bd8dd..e1190d21f1 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 75b2eb1b8cd983b3f54e170a175eb5b7dffce028 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 0f9429a971..459394d28f 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