Update mm-scripts.sh
This commit is contained in:
@@ -161,7 +161,7 @@ MMSTATUS(){
|
|||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [ ! -f /opt/mm.update.stop ]; then
|
||||||
case $action in
|
case $action in
|
||||||
start | check)
|
start | check)
|
||||||
if [ -f /opt/mm.stop ] && [ "${action}" = "check" ]; then
|
if [ -f /opt/mm.stop ] && [ "${action}" = "check" ]; then
|
||||||
@@ -200,5 +200,11 @@ case $action in
|
|||||||
exit 0;;
|
exit 0;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
else
|
||||||
|
echo -e "${idsCL[Yellow]}Part of the system is currently updating, please try again shortly. Updates usually only take 1-3mins.${idsCL[Default]}"
|
||||||
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user