net/wireguard: fix init script (#797)

This commit is contained in:
Michael
2018-08-17 07:12:00 +02:00
committed by Franco Fichtner
parent 3f8fb6288a
commit ee082bbe3c
2 changed files with 2 additions and 2 deletions
+1 -1
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
@@ -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
}