#!/sbin/sh
####################################
#  Product: HPUXOpenSSL
#  Fileset: Latest
#  unconfigure
#  (c) Copyright Hewlett-Packard Company
####################################
UTILS="/usr/lbin/sw/control_utils"
if [[ ! -f $UTILS ]]
then
        echo "ERROR:    Cannot find $UTILS"
        exit 1
fi
. $UTILS
exitval=$SUCCESS
####################################
# Kill prngd daemon
####################################

#ps -ea | grep prngd 1>/dev/null 2>/dev/null
#if [ $? = 0 ]
#then
#	kill_named_procs prngd
#fi

####################################
#Remove the man path
####################################
	mod_pathfile -d MP /opt/openssl/fips/0.9.7/man
#	mod_pathfile -d MP /opt/openssl/prngd/man
####################################
# Remove the long filenames
####################################

	. $SW_CONTROL_DIRECTORY/remove_long_filenames $SW_CONTROL_DIRECTORY/openssl_filename_index.txt

####################################
exit $exitval
####################################
