Update mm-scripts.sh

This commit is contained in:
2023-04-27 07:44:36 -05:00
parent 3f57c21252
commit 534c425a97

View File

@@ -155,7 +155,7 @@ MMSTART(){
if [ ${vpnuptime} -ge 86400 ]; then
echo "$(date) - 24hr session limit reached, restarting vpn & services" >> $logfile
echo -en "${idsCL[LightCyan]}24hr session limit reached, restarting vpn & services ."
[ -f ${MMFOLDER}/mm.noservices ] rv="vpn" || rv=""
[ -f ${MMFOLDER}/mm.noservices ] && rv="vpn" || rv=""
MMSTOP >/dev/null 2>&1
echo -en "."
read -et 10
@@ -1345,7 +1345,7 @@ if [ ! -f ${MMFOLDER}/mm.update.stop ]; then
echo
exit 1
fi
[ -f ${MMFOLDER}/mm.noservices ] rv="vpn" || rv=""
[ -f ${MMFOLDER}/mm.noservices ] && rv="vpn" || rv=""
MMSTOP
echo -en "${idsCL[LightCyan]}Pausing for 30s to get new VPN WAN IP, or press any key to continue with possibly getting a new address ... ${idsCL[Default]}"
read -et 30 -n 1