- Products
- Learn
- Local User Groups
- Partners
-
More
Celebrate the New Year
With CheckMates!
Value of Security
Vendor Self-Awareness
Join Us for CPX 360
23-24 February 2021
Important certificate update to CloudGuard Controller, CME,
and Azure HA Security Gateways
How to Remediate Endpoint & VPN
Issues (in versions E81.10 or earlier)
Mobile Security
Buyer's Guide Out Now
Important! R80 and R80.10
End Of Support around the corner (May 2021)
To my understanding, the call for Check Point shell script (source /etc/profile.d/CP.sh) needs to be added at the very start of the script right after the sha-bang as per link below:
I couldn't help but notice however that in several other scripts like the health check script that several sources are specified:
#====================================================================================================
# Check Point Sources
#====================================================================================================
source /etc/profile.d/CP.sh 2> /dev/null
source /etc/profile.d/vsenv.sh 2> /dev/null
source $MDSDIR/scripts/MDSprofile.sh 2> /dev/null
source $MDS_SYSTEM/shared/sh_utilities.sh 2> /dev/null
source $MDS_SYSTEM/shared/mds_environment_utils.sh 2> /dev/null
As such, could somebody please explain to me if there are other calls we could use in our scripts apart from source /etc/profile.d/CP.sh?
Many thanks in advance.
About CheckMates
Learn Check Point
Advanced Learning
WELCOME TO THE FUTURE OF CYBER SECURITY