mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 22:11:33 +02:00
remove version string from /etc/banner - include it from /etc/VERSION instead to avoid unneeded redundancy
This commit is contained in:
parent
100ecc0693
commit
3b715b9ff3
@ -6,4 +6,3 @@ ___|___ _______
|
|||||||
freedom redefined | | |.-----.| |_.-----.
|
freedom redefined | | |.-----.| |_.-----.
|
||||||
| || _ || _| -__|
|
| || _ || _| -__|
|
||||||
This is the beginning. |__|____||_____||____|_____|
|
This is the beginning. |__|____||_____||____|_____|
|
||||||
------------------------------ version 2010-09-06 --
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
[ -f /etc/banner ] && cat /etc/banner
|
[ -f /etc/banner ] && cat /etc/banner
|
||||||
|
echo -n "-------------------------------- version: "
|
||||||
|
[ -f /etc/VERSION ] && cat /etc/VERSION
|
||||||
|
|
||||||
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
||||||
export HOME=$(grep -e "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6)
|
export HOME=$(grep -e "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6)
|
||||||
|
Loading…
Reference in New Issue
Block a user