wireguard-tools: add uci option to disable wireguard peers
authorStepan Henek <stepan.henek@nic.cz>
Sun, 25 Apr 2021 21:32:29 +0000 (23:32 +0200)
committerPaul Spooren <mail@aparcar.org>
Mon, 18 Oct 2021 22:14:36 +0000 (12:14 -1000)
commitc4e994011f56d30e031705c16c6b5c498c530852
treecfcca3ea674f645e639cd2caef5b589ac189f4ef
parentdbb0019cbef43c6ce5d02a52bfe662d2217ce603
wireguard-tools: add uci option to disable wireguard peers

Right now when I want to temporarily disable wg peer I need to delete
the entire peer section. This is not such a good solution because I
loose the previous configuration of the peer.

This patch adds `disabled` option to peer config which causes that
the config section is ignored.

Signed-off-by: Stepan Henek <stepan.henek@nic.cz>
[use $(AUTORELEASE)]
Signed-off-by: Paul Spooren <mail@aparcar.org>
package/network/utils/wireguard-tools/Makefile
package/network/utils/wireguard-tools/files/wireguard.sh
package/network/utils/wireguard-tools/files/wireguard_watchdog