#!/bin/sh 
if [ -d /sys/c ]
then
  echo ${HOSTNAME:-amiga}
elif [ -f /vmunix ]
then
  hostname
elif [ "$HOSTNAME" ]
then
    echo $HOSTNAME
else
    echo somehost
fi
