diff options
Diffstat (limited to 'package/base-files/extra/etc/profile')
-rw-r--r-- | package/base-files/extra/etc/profile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/base-files/extra/etc/profile b/package/base-files/extra/etc/profile new file mode 100644 index 000000000..55002b01f --- /dev/null +++ b/package/base-files/extra/etc/profile @@ -0,0 +1,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 /lib/ld.so "$@"; } |