mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/tayga: use NAME_setup
PR: https://github.com/opnsense/core/issues/5917
This commit is contained in:
@@ -1,22 +1,18 @@
|
||||
[start]
|
||||
command:/usr/local/etc/rc.d/opnsense-tayga start; /usr/local/etc/rc.routing_configure
|
||||
parameters:
|
||||
type:script_output
|
||||
message:starting tayga
|
||||
|
||||
[stop]
|
||||
command:/usr/local/etc/rc.d/opnsense-tayga stop
|
||||
parameters:
|
||||
type:script_output
|
||||
message:stopping tayga
|
||||
|
||||
[start]
|
||||
command:
|
||||
/usr/local/opnsense/scripts/OPNsense/Tayga/setup.sh;
|
||||
/usr/local/etc/rc.d/opnsense-tayga start;
|
||||
/usr/local/etc/rc.routing_configure
|
||||
parameters:
|
||||
type:script_output
|
||||
message:starting tayga
|
||||
|
||||
[restart]
|
||||
command:
|
||||
/usr/local/etc/rc.d/opnsense-tayga stop;
|
||||
/usr/local/opnsense/scripts/OPNsense/Tayga/setup.sh;
|
||||
/usr/local/etc/rc.d/opnsense-tayga start;
|
||||
/usr/local/etc/rc.routing_configure
|
||||
parameters:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{% if helpers.exists('OPNsense.tayga.general.enabled') and OPNsense.tayga.general.enabled == '1' %}
|
||||
tayga_var_script="/usr/local/opnsense/scripts/OPNsense/Tayga/setup.sh"
|
||||
tayga_script="/usr/local/opnsense/scripts/OPNsense/Tayga/setup.sh"
|
||||
tayga_enable="YES"
|
||||
tayga_v4address={{ OPNsense.tayga.general.v4address }}
|
||||
tayga_v4destination={{ OPNsense.tayga.general.v4destination }}
|
||||
|
||||
Reference in New Issue
Block a user