#!/bin/sh
#
# Copyright 2001-2002 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
#ident	"@(#)preremove	1.12	02/08/02 SMI"
#
# Stop the server and remove the security certificates
# Stop the sysevent daemon

# Stop the server
/opt/SUNWscvw/bin/apachectl stop

# Remove security certificates
HOSTNAME=`hostname`
rm -f /opt/SUNWscvw/conf/ssl/${HOSTNAME}.*

# Stop event daemon
/usr/bin/pkill -x -u 0 scguieventd

exit 0
