aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/contrib/dns-hatchet/apply.sh
blob: 4596d4b9fc98bf8e060555faf324c72b15897213 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0
#
# Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.

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"