1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 20:09:55 +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
parent 14ac5779b1
commit ced8773f54
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)