mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
parent
59a00d52a9
commit
6d27b16e2b
@ -2,7 +2,8 @@
|
||||
[ -f /etc/banner ] && cat /etc/banner
|
||||
|
||||
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
||||
export HOME=/root
|
||||
export HOME=$(grep -e "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6)
|
||||
export HOME=${HOME:-/root}
|
||||
export PS1='\u@\h:\w\$ '
|
||||
|
||||
[ -x /bin/more ] || alias more=less
|
||||
|
Loading…
Reference in New Issue
Block a user