git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
c709e7a
)
tor-hs: tor-hs.init remove unused clean_hs()
author
Sergey Ponomarev
<redacted>
Fri, 4 Aug 2023 08:23:44 +0000
(11:23 +0300)
committer
Josef Schlehofer
<redacted>
Tue, 20 May 2025 11:20:46 +0000
(13:20 +0200)
Signed-off-by: Sergey Ponomarev <redacted>
net/tor-hs/files/tor-hs.init
patch
|
blob
|
history
diff --git
a/net/tor-hs/files/tor-hs.init
b/net/tor-hs/files/tor-hs.init
index 28cbeca38342b0f2605224ec1a48294d67344f9a..e4bbfdea73b7187221910df53037288ab5d3d512 100755
(executable)
--- a/
net/tor-hs/files/tor-hs.init
+++ b/
net/tor-hs/files/tor-hs.init
@@
-9,10
+9,6
@@
TORRC_FILE=/etc/tor/torrc_generated # file with torrc config
HS_DIR_PATH=/etc/tor/hidden_service #hidden service directory path
TOR_USER=tor
-clean_hs() {
- local name=""
-}
-
config_tor() {
local restart_tor update_config
config_get_bool restart_tor "common" RestartTor
@@
-54,7
+50,6
@@
parse_hs_conf() {
config_get name "$config" Name
config_get description "$config" Description
-
config_get_bool enable_hs "$config" Enabled 0
config_get ipv4 "$config" IPv4
git clone https://git.99rst.org/PROJECT