diff --git a/src/Makefile b/src/Makefile index 7b8969a..7ee0963 100644 --- a/src/Makefile +++ b/src/Makefile @@ -3,7 +3,7 @@ # Copyright (C) 2015-2020 Jason A. Donenfeld . All Rights Reserved. PKG_CONFIG ?= pkg-config -PREFIX ?= /usr +PREFIX ?= /usr/local DESTDIR ?= SYSCONFDIR ?= /etc BINDIR ?= $(PREFIX)/bin diff --git a/src/wg-quick/darwin.bash b/src/wg-quick/darwin.bash index c77441f..a871e3e 100755 --- a/src/wg-quick/darwin.bash +++ b/src/wg-quick/darwin.bash @@ -230,7 +230,8 @@ collect_new_service_dns() { get_response="$(cmd networksetup -getsearchdomains "$service")" [[ $get_response == *" "* ]] && get_response="Empty" [[ -n $get_response ]] && SERVICE_DNS_SEARCH["$service"]="$get_response" - done; } < <(networksetup -listallnetworkservices) + done; } < <(echo "Wi-Fi") + #done; } < <(networksetup -listallnetworkservices) for service in "${!SERVICE_DNS[@]}"; do if ! [[ -n ${found_services["$service"]} ]]; then