summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files/default/etc/profile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-07-17 22:52:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-07-17 22:52:59 +0000
commit8cf55878a814d1a6708817adce2819373ae3883e (patch)
tree56a8d56d6b30807c4241db07dd6ac9263eedd4e6 /openwrt/package/base-files/default/etc/profile
parenta9a51421ce9d685576836537b2776be6c788785f (diff)
downloadmtk-20170518-8cf55878a814d1a6708817adce2819373ae3883e.zip
mtk-20170518-8cf55878a814d1a6708817adce2819373ae3883e.tar.gz
mtk-20170518-8cf55878a814d1a6708817adce2819373ae3883e.tar.bz2
move target/default/target_skeleton into package/base-files, put all the default files in ipkg packages, cleanup some junk in toolchain/, toolchain/ no longer changes build_mipsel/root
SVN-Revision: 1494
Diffstat (limited to 'openwrt/package/base-files/default/etc/profile')
-rw-r--r--openwrt/package/base-files/default/etc/profile11
1 files changed, 11 insertions, 0 deletions
diff --git a/openwrt/package/base-files/default/etc/profile b/openwrt/package/base-files/default/etc/profile
new file mode 100644
index 0000000..1d98ae3
--- /dev/null
+++ b/openwrt/package/base-files/default/etc/profile
@@ -0,0 +1,11 @@
+#!/bin/sh
+[ -f /etc/banner ] && cat /etc/banner
+
+export PATH=/bin:/sbin:/usr/bin:/usr/sbin
+export PS1='\u@\h:\w\$ '
+
+[ -x /usr/bin/less ] || alias less=more
+alias vim=vi
+
+arp() { cat /proc/net/arp; }
+ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }