Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user