mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
security/softether: move to NAME_setup
PR: https://github.com/opnsense/core/issues/5917
This commit is contained in:
parent
c9b9f10b9b
commit
f9cbc90c35
3 changed files with 5 additions and 5 deletions
|
|
@ -1,5 +1,5 @@
|
|||
PLUGIN_NAME= softether
|
||||
PLUGIN_VERSION= 0.2
|
||||
PLUGIN_VERSION= 0.3
|
||||
PLUGIN_COMMENT= Cross-platform Multi-protocol VPN Program
|
||||
PLUGIN_DEPENDS= softether
|
||||
PLUGIN_MAINTAINER= m.muenz@gmail.com
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
[start]
|
||||
command:/usr/local/opnsense/scripts/OPNsense/Softether/setup.sh;/usr/local/etc/rc.d/softether_server start
|
||||
command:/usr/local/etc/rc.d/softether_server start
|
||||
parameters:
|
||||
type:script
|
||||
message:starting softether
|
||||
|
|
@ -11,13 +11,13 @@ type:script
|
|||
message:stopping softether
|
||||
|
||||
[restart]
|
||||
command:/usr/local/opnsense/scripts/OPNsense/Softether/setup.sh;/usr/local/etc/rc.d/softether_server restart
|
||||
command:/usr/local/etc/rc.d/softether_server restart
|
||||
parameters:
|
||||
type:script
|
||||
message:restarting softether
|
||||
|
||||
[status]
|
||||
command:sh /usr/local/etc/rc.d/softether_server status;exit 0
|
||||
command:/usr/local/etc/rc.d/softether_server status; exit 0
|
||||
parameters:
|
||||
type:script_output
|
||||
message:softether status
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{% if helpers.exists('OPNsense.softether.general.enabled') and OPNsense.softether.general.enabled == '1' %}
|
||||
softether_server_var_script="/usr/local/opnsense/scripts/OPNsense/Softether/setup.sh"
|
||||
softether_server_setup="/usr/local/opnsense/scripts/OPNsense/Softether/setup.sh"
|
||||
softether_server_enable="YES"
|
||||
{% if helpers.exists('OPNsense.softether.general.enablecarp') and OPNsense.softether.general.enablecarp == '1' %}
|
||||
required_files="/var/run/softether/CARP_MASTER"
|
||||
|
|
|
|||
Loading…
Reference in a new issue