diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-31 16:47:59 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-31 16:47:59 +0200 |
commit | b988bc81d7d5881042242bd31478823b3f904b48 (patch) | |
tree | 2cdbdd3bd9bdf37968ceab0797cef45cd54b24e1 /package/base-files/extra/etc/profile | |
parent | c3fbeed8234d660b713b9dcdb3cdb80e1e7ff804 (diff) |
remove to extra to avoid installing package metafiles
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 "$@"; } |