Update mm-scripts.sh
This commit is contained in:
@@ -154,7 +154,7 @@ MMSTART(){
|
|||||||
vpnuptime=$(expr `date +%s` - $(stat -c %Y ${MMFOLDER}/vpninfo))
|
vpnuptime=$(expr `date +%s` - $(stat -c %Y ${MMFOLDER}/vpninfo))
|
||||||
#if [ ${vpnuptime} -ge 86400 ]; then
|
#if [ ${vpnuptime} -ge 86400 ]; then
|
||||||
if [ ${vpnuptime} -ge 1 ]; then
|
if [ ${vpnuptime} -ge 1 ]; then
|
||||||
echo -en "${idsCL[LightCyan]}24hr session limit reached, restarting vpn & services .${idsCL[Default]}"
|
echo -en "${idsCL[LightCyan]}24hr session limit reached, restarting vpn & services ."
|
||||||
MMSTOP >/dev/null 2>&1
|
MMSTOP >/dev/null 2>&1
|
||||||
echo -en "."
|
echo -en "."
|
||||||
read -et 10
|
read -et 10
|
||||||
|
|||||||
Reference in New Issue
Block a user