
if [ -f /usr/bin/mview ]
  then
    exit 1
fi

if [ -d `cat central` ]
  then
    exit 1
fi

if [ -f /unix.mvw ]
  then
    exit 1
fi

if [ -c /dev/mvwdev ] || [ -c /dev/mvw????? ]
  then
    exit 1
fi

if [ -x /bin/nm ]
  then
    nm /unix | grep mvw >> errorlog 2>&1

    if [ $? = 0 ]
      then
        exit 1
    fi
fi

if [ -f /usr/sys/master.d/mvw? ]
  then
    exit 1
fi

if [ -f /usr/sys/boot.d/MVW? ]
  then
    exit 1
fi

if [ -f /usr/sys/boot.mk ]
   then

      grep MVW /usr/sys/boot.mk >> errorlog 2>&1

      if [ $? = 0 ]
        then
          exit 1
      fi
fi

grep mvw /usr/sys/master/gentty >> errorlog 2>&1

if [ $? = 0 ]
  then
    exit 1
fi

exit 0
