summaryrefslogtreecommitdiff
path: root/config/root-.profile
blob: 5a2188db2307b53ede64a80c8339d065c1095524 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Execute the user's .root_profile file if it exists rather than this one.

case "$USER" in
  "" | root)
    UHOME="";;
  *)
    UHOME="`eval echo ~$USER`";;
esac

if [ "$UHOME" -a -r "$UHOME/.root_profile" ]; then
  . "$UHOME/.root_profile"
else
  PATH=/sbin:/bin:/local/bin
  export PATH
fi