In a network change, don't switch to dhcp unless dnscrypt was on.

This commit is contained in:
Frank Denis
2012-07-29 23:42:28 -07:00
parent bb108bdb18
commit ff291efce8
+2
View File
@@ -7,5 +7,7 @@ FALLBACK_FILE="${CONTROL_DIR}/fallback"
[ ! -e "$FALLBACK_FILE" ] && exit 0
./check-network-change.sh || exit 0
./check-hijacking.sh && exit 0
[ ! -e "$DNSCRYPT_FILE" ] && exit 0
./set-dns-to-dhcp.sh
./switch-to-dnscrypt.sh