mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
net/wireguard: fix init script (#797)
This commit is contained in:
parent
3f8fb6288a
commit
ee082bbe3c
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue