#!/sbin/sh
########################################
#  Product: OpenSSL
#  Fileset: Latest
#  checkinstall
#  (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
####################################
#  Check if we are real root.  The guidelines say we will always be
#  real root during install, but don't mention anything about SWCONFIG.
#  We'll check just to be on the safe side.
####################################
if [[ $SW_ROOT_DIRECTORY != "/" ]]
then
        echo "ERROR:   FIPS OpenSSL can NOT be configured from an alternate"
        echo "         root environment!"
        exit 1
fi
####################################
##kill_named_procs prngd KILL 1>/dev/null 2>/dev/null

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