mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-08 05:10:43 +01:00
parent
59a00d52a9
commit
6d27b16e2b
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue