Archived
Changed matcher
This commit is contained in:
1 parent
ce89a2dbb6
commit
bdb508675c
1 file changed
+1
-1
@@ -22,7 +22,7 @@
|
||||
VPN_CONNECTED=""
|
||||
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
VPN_CONNECTED="ifconfig | egrep -A1 utun3 | grep inet"
|
||||
VPN_CONNECTED="ifconfig | egrep -A1 utun | grep 'inet 10.140.'"
|
||||
fi
|
||||
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||
VPN_CONNECTED="ifconfig | grep -E -A1 tun | grep inet"
|
||||
|
||||
Reference in new issue
Block a user