Always revert to dhcp right after a network change.
This commit is contained in:
@@ -6,7 +6,6 @@ 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
|
||||
[ ! -e "$DNSCRYPT_FILE" ] && exit 0
|
||||
./switch-to-dnscrypt.sh
|
||||
|
||||
Reference in New Issue
Block a user