# preremove script for DCG/x installation
# copyright Data Connection Ltd. 1998
#
XSERV=`/usr/bin/ps -ef | grep '[/]usr/openwin/bin/X'`
if [ -n "$XSERV" ]
then
  echo "The X Server appears to be running. Removal of this package while"
  echo "the X Server is running may cause the X Server to crash, which"
  echo "will leave the SunForum package partially installed and in a"
  echo "corrupt state. Please stop the X Server before removing this"
  echo "package."
  exit 3
fi
