Print this page
3842 remove the machid commands

@@ -18,21 +18,20 @@
 #
 # CDDL HEADER END
 #
 # 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.
 
 trap ""  2 3
 export LOGNAME PATH
 
 if [ "$TERM" = "" ]
 then
-        if /bin/i386
-        then
+        if [ `uname -p` = "i386" ]; then
                 TERM=sun-color
         else
                 TERM=sun
         fi
         export TERM