diff options
Diffstat (limited to 'usr/src/cmd/nsadmin/etc-profile.sh')
-rw-r--r-- | usr/src/cmd/nsadmin/etc-profile.sh | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/usr/src/cmd/nsadmin/etc-profile.sh b/usr/src/cmd/nsadmin/etc-profile.sh index c1dfae8eb8..b59a80791b 100644 --- a/usr/src/cmd/nsadmin/etc-profile.sh +++ b/usr/src/cmd/nsadmin/etc-profile.sh @@ -21,6 +21,7 @@ # Copyright 2010 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # Copyright 2015 Nexenta Systems, Inc. All rights reserved. +# # The profile that all logins get before using their own .profile. @@ -41,19 +42,10 @@ fi # -rsh is given its environment in its .profile. case "$0" in --bash) - # set prompt for bash - PS1="\u@\h:\w\\$ " - export PS1 - ;; -esac - -case "$0" in -sh | -ksh | -ksh93 | -jsh | -bash | -zsh) if [ ! -f .hushlogin ] then - /usr/sbin/quota # Allow the user to break the Message-Of-The-Day only. trap "trap '' 2" 2 /bin/cat -s /etc/motd @@ -61,12 +53,12 @@ case "$0" in /bin/mail -E case $? in - 0) + 0) echo "You have new mail." - ;; - 2) + ;; + 2) echo "You have mail." - ;; + ;; esac fi esac |