From b988bc81d7d5881042242bd31478823b3f904b48 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 31 May 2009 16:47:59 +0200 Subject: remove to extra to avoid installing package metafiles --- package/base-files/extra/etc/profile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/base-files/extra/etc/profile (limited to 'package/base-files/extra/etc/profile') 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 "$@"; } -- cgit v1.2.3