diff options
Diffstat (limited to 'usr/src/cmd/nsadmin/dot-profile.sh')
-rw-r--r-- | usr/src/cmd/nsadmin/dot-profile.sh | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/usr/src/cmd/nsadmin/dot-profile.sh b/usr/src/cmd/nsadmin/dot-profile.sh index a45e47b58d..fa6fb19714 100644 --- a/usr/src/cmd/nsadmin/dot-profile.sh +++ b/usr/src/cmd/nsadmin/dot-profile.sh @@ -1,14 +1,19 @@ # -# Uncommenting PATH below will place /usr/gnu/bin at front, -# adds /usr/sbin and /sbin to the end. +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. # -# export PATH=/usr/gnu/bin:/usr/bin:/usr/sbin:/sbin + # -# Define default prompt to <username>@<hostname>:<path><"($|#) "> -# and print '#' for user "root" and '$' for normal users. +# Copyright 2019 Joyent, Inc. # -# override default prompt for bash -# case "$0" in -# -bash) -# export PS1="\u@\h:\w\\$ " -# esac + +PATH=/usr/bin:/usr/sbin:/smartdc/bin:/opt/smartdc/bin:/opt/local/bin:/opt/local/sbin:/opt/tools/bin:/opt/tools/sbin:/opt/smartdc/agents/bin +MANPATH=/usr/share/man:/smartdc/man:/opt/smartdc/man:/opt/local/man:/opt/tools/man +PAGER=less +# If pkgsrc-tools is set up and the mozilla-rootcerts package is installed +# configure the platform curl to use it. +if [[ -f /opt/tools/share/mozilla-rootcerts/cacert.pem ]]; then + CURL_CA_BUNDLE=/opt/tools/share/mozilla-rootcerts/cacert.pem +fi +export PATH MANPATH PAGER CURL_CA_BUNDLE |