mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
tor: fix setup.sh, wrong directory structure
PR: https://forum.opnsense.org/index.php?topic=6207.0
This commit is contained in:
parent
463dd0b21a
commit
19043bb281
7 changed files with 4 additions and 4 deletions
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue