update
This commit is contained in:
@@ -153,7 +153,7 @@ MMSTART(){
|
||||
fi
|
||||
|
||||
vpnuptime=$(expr `date +%s` - $(stat -c %Y ${MMFOLDER}/vpninfo))
|
||||
if [ ${vpnuptime} -ge 200 ]; then
|
||||
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=""
|
||||
|
||||
Reference in New Issue
Block a user