mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
tor: fix setup.sh, wrong directory structure
PR: https://forum.opnsense.org/index.php?topic=6207.0
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ chown _tor:_tor /var/log/tor.log
|
||||
chown _tor:_tor /var/run/tor
|
||||
|
||||
# create Onion service dirs:
|
||||
/usr/local/opnsense/service/scripts/tor/make_hidden_service_dirs.php
|
||||
/usr/local/opnsense/scripts/tor/make_hidden_service_dirs.php
|
||||
|
||||
# required to access the pf device for nat
|
||||
/usr/sbin/pw groupmod proxy -m _tor
|
||||
@@ -23,13 +23,13 @@ type:script_output
|
||||
message:request tor status
|
||||
|
||||
[genkey]
|
||||
command:/usr/local/opnsense/service/scripts/tor/gen_key
|
||||
command:/usr/local/opnsense/scripts/tor/gen_key
|
||||
parameters:
|
||||
type:script_output
|
||||
message:generate Tor control key
|
||||
|
||||
[gethostnames]
|
||||
command:/usr/local/opnsense/service/scripts/tor/get_hostnames
|
||||
command:/usr/local/opnsense/scripts/tor/get_hostnames
|
||||
parameters:
|
||||
type:script_output
|
||||
message:Query hostnames of Onion services
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{% if helpers.exists('OPNsense.tor.general.enabled') and OPNsense.tor.general.enabled == '1' %}
|
||||
tor_enable="YES"
|
||||
tor_opnsense_bootup_run="/usr/local/opnsense/service/scripts/tor/setup.sh"
|
||||
tor_opnsense_bootup_run="/usr/local/opnsense/scripts/tor/setup.sh"
|
||||
{% else %}
|
||||
tor_enable="NO"
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user