summaryrefslogtreecommitdiff
path: root/package/base-files/extra/etc/profile
blob: 798548a46c417a1a2a3107bc976666fddd69f6af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
if [[ $(id -u) = 0 ]]; then
	export PS1='# '
else
	export PS1='$ '
fi
export HOME=/tmp
cat /etc/banner 2>&-
[ -x /usr/bin/less ] || alias less=more
[ -x /usr/bin/vim ] || alias vim=vi
[ -x /usr/bin/arp ] || arp() { cat /proc/net/arp; }
[ -x /usr/bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 "$@"; }