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

files: remove display banner in /etc/profile

This commit is contained in:
Xiangfu Liu 2010-11-25 18:09:49 +08:00
parent d2a16439ca
commit e40bc0959e

View File

@ -1,7 +1,4 @@
#!/bin/sh #!/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 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)