mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/wireguard: fix init script (#797)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user