シェルスクリプトでのCheck Pointコマンドの実行
シェルスクリプトでチェック・ポイントのコマンドを実行するには、必要なチェック・ポイントのシェルスクリプトに呼び出しを追加する必要があります。
これらのコールは、先頭行 "#!/bin/bash
" の下に追加する必要があります。
Security Management Server/Log Server/SmartEvent Serverの場合
/etc/profile.d/CP.sh
スクリプトに呼び出しを追加する必要があります。
#!/bin/bash source /etc/profile.d/CP.sh <Applicable Check Point Commands> [mandatory last new line] |
Multi-Domain Server/Multi-Domain Log Serverの場合
これらのスクリプトに呼び出しを追加する必要があります(以下に示す順序で)。
/etc/profile.d/CP.sh
$MDSDIR/scripts/MDSprofile.sh
$MDS_SYSTEM/shared/mds_environment_utils.sh
$MDS_SYSTEM/shared/sh_utilities.sh
#!/bin/bash source /etc/profile.d/CP.sh source $MDSDIR/scripts/MDSprofile.sh source $MDS_SYSTEM/shared/mds_environment_utils.sh source $MDS_SYSTEM/shared/sh_utilities.sh <Applicable Check Point Commands> [mandatory last new line] |
セキュリティゲートウェイ/クラスタメンバ(非VSX)の場合
/etc/profile.d/CP.sh
スクリプトに呼び出しを追加する必要があります。
#!/bin/bash source /etc/profile.d/CP.sh <Applicable Check Point Commands> [mandatory last new line] |
VSX Gateway / VSXクラスタメンバの場合
これらのスクリプトに呼び出しを追加する必要があります(以下に示す順序で)。
/etc/profile.d/CP.sh
/etc/profile.d/vsenv.sh
#!/bin/bash source /etc/profile.d/CP.sh source /etc/profile.d/vsenv.sh <Applicable Check Point Commands> [mandatory last new line] |