# $Id: profile,v 1.4 1999/09/22 06:43:20 friedman Exp $

case "${BASH_LOGIN_FAILED_P+set}:$LOGGED:$0" in
  set:*:* | *:t:* ) : ;;
  *:*:-sh | *:*:-*/sh )
    case "${SINIT_MACHTYPE-unset}" in
      unset )
        hosttype=$HOME/etc/init/bin/hosttype
        if test -f $hosttype; then
          SINIT_MACHTYPE=`$hosttype`
          export SINIT_MACHTYPE
        fi ;;
    esac
    p=$HOME/bin/share/bash-login
    if test -f "$p"; then
      exec=exec
      # If /bin/sh is bash 2.x, there is some lossage which prevents
      # interactive shells from working correctly if we exec here.
      case "$BASH_VERSION" in 2.* ) exec= ;; esac
      $exec /bin/sh "$p"
      exit $?
    fi
   ;;
esac

# eof
