Update nodemgmt-scripts.sh
This commit is contained in:
@@ -372,8 +372,8 @@ NODEUPDATES() {
|
|||||||
until [ "${completed}" == "true" ]; do
|
until [ "${completed}" == "true" ]; do
|
||||||
for nodecmd in /tmp/.nodeupdate.*.done; do
|
for nodecmd in /tmp/.nodeupdate.*.done; do
|
||||||
if [[ "${nodecmd}" != *"*"* ]]; then
|
if [[ "${nodecmd}" != *"*"* ]]; then
|
||||||
# nodecmd_output=$(cat ${nodecmd})
|
nodecmd_output=$(cat ${nodecmd})
|
||||||
# [ "${nodecmd_output}" != "" ] && echo -e "${nodecmd_output}"
|
[ "${nodecmd_output}" != "" ] && echo -e "${nodecmd_output}"
|
||||||
rm -f ${nodecmd}
|
rm -f ${nodecmd}
|
||||||
((nc_count++))
|
((nc_count++))
|
||||||
fi
|
fi
|
||||||
@@ -427,8 +427,8 @@ NODEUPDATE(){
|
|||||||
echo -e "${idsCL[Green]}Installed & Synced${idsCL[Default]}" >> ${tmpfile}.running
|
echo -e "${idsCL[Green]}Installed & Synced${idsCL[Default]}" >> ${tmpfile}.running
|
||||||
elif [ ${noup} -eq 1 ]; then
|
elif [ ${noup} -eq 1 ]; then
|
||||||
echo -e "${idsCL[Green]}Already Installed${idsCL[Default]}" >> ${tmpfile}.running
|
echo -e "${idsCL[Green]}Already Installed${idsCL[Default]}" >> ${tmpfile}.running
|
||||||
else
|
# else
|
||||||
${NCMD} "nodemgmt update q" >> ${tmpfile}.running
|
# ${NCMD} "nodemgmt update q" >> ${tmpfile}.running
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
# echo -en " ~ ${idsCL[LightCyan]}Sync Shared Nodemgmt Defaults${idsCL[Default]} : " >> ${tmpfile}.running
|
# echo -en " ~ ${idsCL[LightCyan]}Sync Shared Nodemgmt Defaults${idsCL[Default]} : " >> ${tmpfile}.running
|
||||||
|
|||||||
Reference in New Issue
Block a user