Update mm-scripts.sh
This commit is contained in:
@@ -634,14 +634,18 @@ MMSTATUS(){
|
||||
msg=" |- ${idsCL[Default]}Real WAN Address"
|
||||
c=0; spc=''; spc1=$((${cw_spc}-${#msg}+6))
|
||||
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
||||
echo -en "${idsCL[White]}${msg}${spc}${idsCL[White]} : ${idsCL[Default]}"
|
||||
echo -e "${idsCL[Green]}${REALWANIP}${idsCL[Default]}"
|
||||
echo -e "${idsCL[White]}${msg}${spc}${idsCL[White]} : ${idsCL[Green]}${REALWANIP}${idsCL[Default]}"
|
||||
|
||||
msg=" |- ${idsCL[Default]}VPN WAN Address"
|
||||
c=0; spc=''; spc1=$((${cw_spc}-${#msg}+6))
|
||||
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
||||
echo -en "${idsCL[White]}${msg}${spc}${idsCL[White]} : ${idsCL[Default]}"
|
||||
echo -e "${idsCL[Green]}${mmip}${idsCL[Default]}"
|
||||
echo -e "${idsCL[White]}${msg}${spc}${idsCL[White]} : ${idsCL[Green]}${mmip}${idsCL[Default]}"
|
||||
|
||||
vpnuptime=`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]}"
|
||||
|
||||
### CHECK FOR PLEX MOUNT
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user