diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index f97b5772..86a53d38 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1431,6 +1431,18 @@ SERVICE(){ echo -e "${idsCL[Red]}NOT MOUNTED ($mntpath)${idsCL[Default]}" fi fi + + if [ "$nip" = "10.10.1.43" ]; then + echo -en "Mounting drive on '$nip'... ${idsCL[Default]}" + mntpath="/mnt/Nextcloud-Data" + ${NCMD} "test -e ${mntpath}/mounted" + if [ $? -eq 0 ]; then + echo -e "${idsCL[Green]}MOUNTED ($mntpath)${idsCL[Default]}" + else + echo -e "${idsCL[Red]}NOT MOUNTED ($mntpath)${idsCL[Default]}" + fi + fi + elif [ "${3}" != "q" ]; then echo -e "${idsCL[Red]}Node is Down${idsCL[Default]}" fi