summaryrefslogtreecommitdiff
path: root/libre-testing/filesystem/profile
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-08-28 05:31:51 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-08-28 05:31:51 -0300
commit0d8b9a6f87f89c84dda83a349ccfbb585a3e6a42 (patch)
tree4e014163110f0a0eec10f3eeeb03ca28f4f0efa7 /libre-testing/filesystem/profile
parent3b4fc574ae04a311e618fb44a07268ffb7e45cc4 (diff)
filesystem-2012.8-1: updating version
Diffstat (limited to 'libre-testing/filesystem/profile')
-rw-r--r--libre-testing/filesystem/profile27
1 files changed, 27 insertions, 0 deletions
diff --git a/libre-testing/filesystem/profile b/libre-testing/filesystem/profile
new file mode 100644
index 000000000..3bc22db9f
--- /dev/null
+++ b/libre-testing/filesystem/profile
@@ -0,0 +1,27 @@
+# /etc/profile
+
+#Set our umask
+umask 022
+
+# Set our default path
+PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin"
+export PATH
+
+# Load profiles from /etc/profile.d
+if test -d /etc/profile.d/; then
+ for profile in /etc/profile.d/*.sh; do
+ test -r "$profile" && . "$profile"
+ done
+ unset profile
+fi
+
+# Source global bash config
+if test "$PS1" && test "$BASH" && test -r /etc/bash.bashrc; then
+ . /etc/bash.bashrc
+fi
+
+# Termcap is outdated, old, and crusty, kill it.
+unset TERMCAP
+
+# Man is much better than us at figuring this out
+unset MANPATH