diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-31 11:38:09 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-31 17:25:23 +0100 |
commit | d30d9630b6465982ee1ee2eba325f48f65fb5079 (patch) | |
tree | 91172237284e28270533050abfd26b69c26940e7 /contrib/dns-hatchet/apply.sh | |
parent | wg-quick: remember to rewind DNS settings on failure (diff) | |
download | wireguard-tools-d30d9630b6465982ee1ee2eba325f48f65fb5079.tar.xz wireguard-tools-d30d9630b6465982ee1ee2eba325f48f65fb5079.zip |
wg-quick: allow for the hatchet, but not by default
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'contrib/dns-hatchet/apply.sh')
-rwxr-xr-x | contrib/dns-hatchet/apply.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/dns-hatchet/apply.sh b/contrib/dns-hatchet/apply.sh new file mode 100755 index 0000000..ce35ecd --- /dev/null +++ b/contrib/dns-hatchet/apply.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +ME="$(readlink -f "$(dirname "$(readlink -f "$0")")")" +TOOLS="$ME/../../../src/tools" + +sed -i "/~~ function override insertion point ~~/r $ME/hatchet.bash" "$TOOLS/wg-quick.bash" |