Update mm-scripts.sh
This commit is contained in:
@@ -118,7 +118,7 @@ MMSTOP(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
MMSTATUS(){
|
MMSTATUS(){
|
||||||
if [[ ${MMSRV} == *"10.10.1.24"* ]]; then
|
if [[ ${MMSRV} == *"10.10.1.23"* ]]; then
|
||||||
statusArray=("nordvpn")
|
statusArray=("nordvpn")
|
||||||
else
|
else
|
||||||
statusArray=("openvpn")
|
statusArray=("openvpn")
|
||||||
@@ -130,7 +130,7 @@ MMSTATUS(){
|
|||||||
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
||||||
echo -en " ${NM_SERVICES[${srvc}]}$spc: "
|
echo -en " ${NM_SERVICES[${srvc}]}$spc: "
|
||||||
|
|
||||||
if [[ ${MMSRV} == *"10.10.1.24"* ]]; then
|
if [[ ${MMSRV} == *"10.10.1.23"* ]]; then
|
||||||
if [ "$(nordvpn staus)" == "Status: Disconnected" ]; then
|
if [ "$(nordvpn staus)" == "Status: Disconnected" ]; then
|
||||||
echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"
|
echo -e "${idsCL[Red]}Not Running${idsCL[Default]}"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user