Update mm-scripts.sh
This commit is contained in:
@@ -578,7 +578,7 @@ MMSTATUS(){
|
||||
echo -en "${idsCL[White]}${msg}${spc}${idsCL[White]}: ${idsCL[Default]}"
|
||||
echo -e "${idsCL[Green]}Running${idsCL[Default]}"
|
||||
|
||||
vpnuptime=`date +%s`-$(stat -c %Y ${MMFOLDER}/vpninfo)
|
||||
vpnuptime=$(expr `date +%s` - $(stat -c %Y ${MMFOLDER}/vpninfo))
|
||||
msg=" |- ${idsCL[Default]}VPN/Services Uptime"
|
||||
c=0; spc=''; spc1=$((${cw_spc}-${#msg}+6)); until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
||||
echo -e "${idsCL[White]}${msg}${spc}${idsCL[White]} : ${idsCL[Green]}$(SHOW_TIME ${vpnuptime})${idsCL[Default]}"
|
||||
|
||||
Reference in New Issue
Block a user