[X2Go-Commits] [live-build-x2go] 111/160: booted env and build version should go to motd, too

git-admin at x2go.org git-admin at x2go.org
Sat Nov 18 01:55:49 CET 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch feature/openbox
in repository live-build-x2go.

commit e2312edf14f9114c3eb148101f5fe466bd6f1d4e
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Thu Jul 27 12:50:53 2017 +0200

    booted env and build version should go to motd, too
---
 config/includes.chroot/lib/live/config/2100-show-sysconf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/includes.chroot/lib/live/config/2100-show-sysconf b/config/includes.chroot/lib/live/config/2100-show-sysconf
index f3cf38b..8354c71 100755
--- a/config/includes.chroot/lib/live/config/2100-show-sysconf
+++ b/config/includes.chroot/lib/live/config/2100-show-sysconf
@@ -53,8 +53,8 @@ fi
 
 	IPMSG=\$( sed 's/^/- /' <<< "\$IPMSG" )
 	echo "\$IPMSG" | tee -a /etc/motd >> /etc/issue
-	[ -n "\$BOOTEDENV" ] && echo "- Booted Environment: \$BOOTEDENV" >> /etc/issue
-	[ -n "\$TIMESTAMP" ] && echo "- Build Version: \$TIMESTAMP (\$HUMANTIMESTAMP)" >> /etc/issue
+	[ -n "\$BOOTEDENV" ] && echo "- Booted Environment: \$BOOTEDENV" | tee -a /etc/motd >> /etc/issue
+	[ -n "\$TIMESTAMP" ] && echo "- Build Version: \$TIMESTAMP (\$HUMANTIMESTAMP)" | tee -a /etc/motd >> /etc/issue
 
 	# make sure all unused VTs show the new /etc/issue
 	ps -C getty --no-header | awk '{ print \$1 }' | xargs -n 1 kill -1

--
Alioth's /srv/git/code.x2go.org/live-build-x2go.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git


More information about the x2go-commits mailing list