summaryrefslogtreecommitdiff
path: root/config/root-.profile
diff options
context:
space:
mode:
Diffstat (limited to 'config/root-.profile')
-rw-r--r--config/root-.profile7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/root-.profile b/config/root-.profile
new file mode 100644
index 00000000..5bfd9833
--- /dev/null
+++ b/config/root-.profile
@@ -0,0 +1,7 @@
+# Execute the user's .root_profile file if it exists rather than this one.
+
+if [ $USER && $USER != root ]; then
+ . ~USER/.root_profile
+else
+ export PATH=/sbin:/bin:/local/bin
+fi