From ced8773f54ec8baa0db07835e93608e4c9e8d174 Mon Sep 17 00:00:00 2001 From: Mirko Vogt Date: Mon, 15 Nov 2010 03:04:01 +0100 Subject: [PATCH] remove version string from /etc/banner - include it from /etc/VERSION instead to avoid unneeded redundancy --- data/qi_lb60/files/etc/banner | 1 - data/qi_lb60/files/etc/profile | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/data/qi_lb60/files/etc/banner b/data/qi_lb60/files/etc/banner index 04d0af44e..00d400454 100644 --- a/data/qi_lb60/files/etc/banner +++ b/data/qi_lb60/files/etc/banner @@ -6,4 +6,3 @@ ___|___ _______ freedom redefined | | |.-----.| |_.-----. | || _ || _| -__| This is the beginning. |__|____||_____||____|_____| ------------------------------- version 2010-09-06 -- diff --git a/data/qi_lb60/files/etc/profile b/data/qi_lb60/files/etc/profile index 60477ba54..995556eab 100644 --- a/data/qi_lb60/files/etc/profile +++ b/data/qi_lb60/files/etc/profile @@ -1,5 +1,7 @@ #!/bin/sh [ -f /etc/banner ] && cat /etc/banner +echo -n "-------------------------------- version: " +[ -f /etc/VERSION ] && cat /etc/VERSION export PATH=/bin:/sbin:/usr/bin:/usr/sbin export HOME=$(grep -e "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6)