Update run.sh
This commit is contained in:
4
run.sh
4
run.sh
@@ -10,8 +10,8 @@ source /opt/idssys/nodemgmt/conf/settings.conf
|
||||
source /opt/idssys/nodemgmt/defaults.inc
|
||||
|
||||
# if [[ "${noheader}" != *" ${1} "* ]] && [[ "${noheader}" != *" ${2} "* ]] && [ "${1}" != "status" ]; then
|
||||
if [ "${1}" == "update" ] || ([ "${1}" == "update" ] && [ "${2}" != "nodes" ]) || ([ "${1}" == "update-nodes" ] && [ "${3}" != "sync" ]); then
|
||||
if [ "${1}" == "update-nodes" ] || [ "${2}" != "nodes" ]; then
|
||||
if [ "${1}" == "update" ] || ([ "${1}" == "update" ] && [ "${2}" == "nodes" ]) || ([ "${1}" == "update-nodes" ] && [ "${3}" != "sync" ]); then
|
||||
if [ "${1}" == "update-nodes" ] || [ "${2}" == "nodes" ]; then
|
||||
echo -e "\n${idsCL[LightGreen]}Updating Node-Manager${idsCL[Default]}"
|
||||
echo -e "${idsCL[LightGreen]}-------------------------------------------${idsCL[Default]}"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user