fix scripts.

This commit is contained in:
Hui Xiang 2014-12-19 19:08:16 +08:00
parent 0850089b94
commit 0bbbffbd38

View File

@ -28,7 +28,6 @@ if [[ $CRM_notify_node == $hostname ]]; then
logger "CRM_notify_task: $CRM_notify_task, CRM_notify_desc: $CRM_notify_desc" logger "CRM_notify_task: $CRM_notify_task, CRM_notify_desc: $CRM_notify_desc"
logger "CRM_notify_rsc: $CRM_notify_rsc, CRM_notify_node: $CRM_notify_node" logger "CRM_notify_rsc: $CRM_notify_rsc, CRM_notify_node: $CRM_notify_node"
logger " ******************************************************************* " logger " ******************************************************************* "
fi
if [[ $CRM_notify_rsc == 'res_PingCheck' && ${CRM_notify_task} == 'start' && \ if [[ $CRM_notify_rsc == 'res_PingCheck' && ${CRM_notify_task} == 'start' && \
$CRM_notify_node == $hostname ]]; then $CRM_notify_node == $hostname ]]; then
@ -50,4 +49,4 @@ elif [[ $CRM_notify_rsc == 'res_PingCheck' && ${CRM_notify_task} == 'monitor' ]]
logger "TODO" logger "TODO"
fi fi
fi fi
fi