summaryrefslogtreecommitdiff
path: root/pcr/filesystem-nosystemd/profile
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2018-01-06 02:36:12 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2018-01-06 02:36:12 -0500
commita88f46f60144321454de3d3d7f310f89b4d6ec24 (patch)
tree20f2e70a736bb0c25b2deb4b91d15d6d289609ae /pcr/filesystem-nosystemd/profile
parent1db00cf986b54d932643f262395a7e628746801c (diff)
downloadabslibre-a88f46f60144321454de3d3d7f310f89b4d6ec24.tar.gz
abslibre-a88f46f60144321454de3d3d7f310f89b4d6ec24.tar.bz2
abslibre-a88f46f60144321454de3d3d7f310f89b4d6ec24.zip
Add filesystem-nosystemd
Diffstat (limited to 'pcr/filesystem-nosystemd/profile')
-rw-r--r--pcr/filesystem-nosystemd/profile27
1 files changed, 27 insertions, 0 deletions
diff --git a/pcr/filesystem-nosystemd/profile b/pcr/filesystem-nosystemd/profile
new file mode 100644
index 000000000..60c1821dd
--- /dev/null
+++ b/pcr/filesystem-nosystemd/profile
@@ -0,0 +1,27 @@
+# /etc/profile
+
+#Set our umask
+umask 022
+
+# Set our default path
+PATH="/usr/local/sbin:/usr/local/bin:/usr/bin"
+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 -z ${POSIXLY_CORRECT+x} && 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