httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert S. Thau" <...@ai.mit.edu>
Subject Re: Config changes consensus?
Date Wed, 11 Sep 1996 17:04:52 GMT
I just gave Jim's script a very, very brief skim, but this stuck out:

# Now NeXT

if hostname > /dev/null 2>/dev/null; then
    ISNEXT=`hostname`
    case "$ISNEXT" in
      *NeXT*)
          echo "whatever-next-nextstep"; exit 0
          ;;
    esac
fi

On the systems I've used, the hostname command returns, well, the
name of the host.  If it does the same thing on NeXT's as well, then
the assumption here seems to be that every NeXT box will have 'NeXT'
in the hostname (and other boxes won't).  If not, well... you learn
something new every day.  So, ummmm, what does it return on a NeXT box?

rst

Mime
View raw message