#!/bin/sh

if [ -x /etc/init.d/ehttpd ]; then
	/etc/init.d/ehttpd stop
fi

# We want to preserve the SMC.jar file that's already there so that it
# doesn't get removed by pkgrm.  This should be put back by the postinstall
# script.

if [ -f $BASEDIR/$PRODUCTDIR/beans/SMC.jar ]; then
	cp -p $BASEDIR/$PRODUCTDIR/beans/SMC.jar /var/tmp/SMC_upgrade_backup.jar
fi
