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 | c13827622b6aeaaa15da948f71b7c16288fe88a9 (patch) | |
tree | 2e58aaaad1988fc69710be8bf7e73515e38cacf9 /contrib/examples/dns-hatchet/apply.sh | |
parent | global: use fewer BUG_ONs (diff) | |
download | wireguard-monolithic-historical-c13827622b6aeaaa15da948f71b7c16288fe88a9.tar.xz wireguard-monolithic-historical-c13827622b6aeaaa15da948f71b7c16288fe88a9.zip |
wg-quick: allow for the hatchet, but not by default
Diffstat (limited to 'contrib/examples/dns-hatchet/apply.sh')
-rwxr-xr-x | contrib/examples/dns-hatchet/apply.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/examples/dns-hatchet/apply.sh b/contrib/examples/dns-hatchet/apply.sh new file mode 100755 index 0000000..ce35ecd --- /dev/null +++ b/contrib/examples/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" |