add only Darwin support
This commit is contained in:
parent
0850532083
commit
8eacce7ee4
1 changed files with 5 additions and 1 deletions
|
@ -7,7 +7,11 @@ source $current_dir/utils.sh
|
|||
|
||||
vpn_function() {
|
||||
case $(uname -s) in
|
||||
Linux | Darwin)
|
||||
Linux)
|
||||
# TODO
|
||||
;;
|
||||
|
||||
Darwin)
|
||||
vpn=$(scutil --nc list | grep Connected)
|
||||
|
||||
if [ -z $vpn ]; then
|
||||
|
|
Loading…
Reference in a new issue