1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 02:34:06 +02:00

remove version string from /etc/banner - include it from /etc/VERSION instead to avoid unneeded redundancy

This commit is contained in:
Mirko Vogt 2010-11-15 03:04:01 +01:00 committed by Xiangfu Liu
parent 100ecc0693
commit 3b715b9ff3
2 changed files with 2 additions and 1 deletions

View File

@ -6,4 +6,3 @@ ___|___ _______
freedom redefined | | |.-----.| |_.-----.
| || _ || _| -__|
This is the beginning. |__|____||_____||____|_____|
------------------------------ version 2010-09-06 --

View File

@ -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)