Update mm-scripts.sh
This commit is contained in:
@@ -300,6 +300,11 @@ PersistentKeepalive = 25" >> /etc/wireguard/wg-torguard.conf
|
|||||||
fi
|
fi
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
if [ "${1}" == "check" ]; then
|
||||||
|
MMUPDATECHECK
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
[ $VERBOSE = true ] && DEBUGLOGSTOP
|
[ $VERBOSE = true ] && DEBUGLOGSTOP
|
||||||
|
|
||||||
#exit 0
|
#exit 0
|
||||||
@@ -485,7 +490,6 @@ MMUPDATECHECK(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
if [ ! -f ${MMFOLDER}/mm.update.stop ]; then
|
if [ ! -f ${MMFOLDER}/mm.update.stop ]; then
|
||||||
MMUPDATECHECK
|
|
||||||
if [ -f ${MMFOLDER}/mm.stop ]; then
|
if [ -f ${MMFOLDER}/mm.stop ]; then
|
||||||
stoppedsince=`date +%s`-$(stat -c %Y ${MMFOLDER}/mm.stop)
|
stoppedsince=`date +%s`-$(stat -c %Y ${MMFOLDER}/mm.stop)
|
||||||
stopmsg="${idsCL[Yellow]}The system has currently been stopped for '$(SHOW_TIME ${stoppedsince})'.\n${idsCL[LightCyan]}(You'll need to run \"mm start\" to start services again)${idsCL[Default]}"
|
stopmsg="${idsCL[Yellow]}The system has currently been stopped for '$(SHOW_TIME ${stoppedsince})'.\n${idsCL[LightCyan]}(You'll need to run \"mm start\" to start services again)${idsCL[Default]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user