Update mm-scripts.sh
This commit is contained in:
@@ -486,13 +486,13 @@ MMSTATUS(){
|
||||
msg=" |- 0.0.0.0 Gateway"
|
||||
c=0; spc=''; spc1=$((${cw_spc}-${#msg}))
|
||||
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
||||
echo -en "${idsCL[White]}${msg}${spc} : ${idsCL[Default]}"
|
||||
echo -en "${idsCL[LightCyan]}${msg}${spc} : ${idsCL[Default]}"
|
||||
echo -e "${idsCL[Green]}$zerogw${idsCL[Default]}"
|
||||
|
||||
msg=" |- DEFAULT Gateway"
|
||||
c=0; spc=''; spc1=$((${cw_spc}-${#msg}))
|
||||
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
||||
echo -en "${idsCL[White]}${msg}${spc} : ${idsCL[Default]}"
|
||||
echo -en "${idsCL[LightCyan]}${msg}${spc} : ${idsCL[Default]}"
|
||||
|
||||
if [ "${zerogw}" == "${defaultgw}" ] && [ "${zerogw}" == "${VPN_INTERFACE}" ]; then
|
||||
echo -e "${idsCL[Green]}$defaultgw${idsCL[Default]}"
|
||||
|
||||
Reference in New Issue
Block a user