1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 00:14:05 +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 49f1bbf698
commit 011732f7ce

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)