Update nodemgmt-scripts.sh

This commit is contained in:
2024-11-29 19:02:21 -06:00
parent 81c4836b67
commit 8abccd4bf1

View File

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