net/wireguard: fix init script (#797)

(cherry picked from commit ee082bbe3c)
This commit is contained in:
Michael 2018-08-17 07:12:00 +02:00 committed by Franco Fichtner
parent ef0eea2477
commit a9a293dae2
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
PLUGIN_NAME= wireguard
PLUGIN_VERSION= 0.1
PLUGIN_VERSION= 0.2
PLUGIN_COMMENT= WireGuard VPN service
PLUGIN_DEPENDS= wireguard
PLUGIN_MAINTAINER= m.muenz@gmail.com

View file

@ -27,7 +27,7 @@ wireguard_stop()
echo "stopping wireguard"
for STARTER in ${wireguard_config}; do
$command down $STARTER
ifconfig destroy $STARTER
ifconfig $STARTER destroy
pkill -f wg-quick
done
}