Fixing wg-quick's DNS= directive with a hatchet

Jason A. Donenfeld Jason at zx2c4.com
Fri Oct 27 19:52:29 CEST 2017


Okay, so, in the rpm spec, you can patch wg-quick.bash before the make install.

sed -n -i -e '/^cmd_usage()/r path/to/hatchet.bash' -e 1x -e
'2,${x;p}' -e '${x;p}' path/to/src/tools/wg-quick.bash

This is using the attached hatchet.bash file.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hatchet.bash
Type: application/octet-stream
Size: 1139 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20171027/a86bebbf/attachment.obj>


More information about the WireGuard mailing list