Update nodemgmt-scripts.sh

This commit is contained in:
2019-12-12 23:20:30 -06:00
parent 4144ef962e
commit 2c095200a2

View File

@@ -31,7 +31,7 @@ STATUS(){
fi
declare -i cw; declare -i spc1; declare -i c
########################
if [ "${ST_ACTION}" = "" ] || [ "${ST_ACTION}" = "report" ] || [ "${ST_ACTION}" = "repl" ] || [ "${ST_ACTION}" = "check" ]; then
if [ "${ST_ACTION}" = "report" ] || [ "${ST_ACTION}" = "repl" ] || [ "${ST_ACTION}" = "check" ]; then
if [ "${ST_ACTION}" != "check" ]; then
echo -e "${idsCL[LightCyan]}Setting up status checks...${idsCL[Default]}"
echo
@@ -360,7 +360,7 @@ STATUS(){
########################
## FREE SPACE CHECK
########################
if [ "${ST_ACTION}" = "" ] || [ "${ST_ACTION}" = "report" ]; then
if [ "${ST_ACTION}" = "" ] || [ "${ST_ACTION}" = "report" ] || [ "${ST_ACTION}" = "freespace" ]; then
if [ "${ST_ACTION}" != "repl" ] && [ "${ST_ACTION}" != "services" ]; then
if [ "${ST_ACTION}" != "check" ]; then
echo -e "${idsST[Bold]}"; DIVIDER