Update nodemgmt-scripts.sh

This commit is contained in:
2023-07-04 16:10:11 -05:00
parent 52f16bf2ef
commit 284fb1dfaa

View File

@@ -812,18 +812,19 @@ NODEUPDATE() {
echo -en " ~ ${idsCL[LightCyan]}NodeMGMT${idsCL[Default]} : "
if ! ${NCMD} command -v nodemgmt > /dev/null; then
${NCMD} "bash <(curl -sL https://go.scity.us/install-nodemgmt)" >/dev/null 2>&1
echo -en "${idsCL[Green]}Installed${idsCL[Default]}"
else
${NCMD} "nodemgmt update q" >/dev/null 2>&1
echo -en "${idsCL[Green]}Updated${idsCL[Default]}"
fi
echo -en "${idsCL[Green]}COMPLETE${idsCL[Default]}"
echo -en " ~ ${idsCL[LightCyan]}LinUPx${idsCL[Default]} : "
if ! ${NCMD} command -v runup > /dev/null; then
${NCMD} bash <(curl -sL https://go.scity.us/install-linupx) >/dev/null 2>&1
else
${NCMD} "runup runup" >/dev/null 2>&1
fi
echo -e "${idsCL[Green]}COMPLETE${idsCL[Default]}"
# echo -en " ~ ${idsCL[LightCyan]}LinUPx${idsCL[Default]} : "
# if ! ${NCMD} command -v runup > /dev/null; then
# ${NCMD} bash <(curl -sL https://go.scity.us/install-linupx) >/dev/null 2>&1
# else
# ${NCMD} "runup runup" >/dev/null 2>&1
# fi
# echo -e "${idsCL[Green]}COMPLETE${idsCL[Default]}"
else
echo -en " ~ ${idsCL[LightCyan]}Sync Defaults${idsCL[Default]} : "