Browse Source

tor-hs: change rpc service name

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
lilik-openwrt-22.03
Jan Pavlinec 4 years ago
committed by Paul Spooren
parent
commit
4fd4212b88
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      net/tor-hs/Makefile
  2. +1
    -1
      net/tor-hs/README.md

+ 2
- 2
net/tor-hs/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=tor-hs PKG_NAME:=tor-hs
PKG_VERSION:=0.0.1 PKG_VERSION:=0.0.1
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz> PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz>
PKG_LICENSE:=GPL-3.0-or-later PKG_LICENSE:=GPL-3.0-or-later
@ -58,7 +58,7 @@ define Package/tor-hs/install
$(INSTALL_DIR) $(1)/etc/tor/ $(INSTALL_DIR) $(1)/etc/tor/
$(INSTALL_BIN) ./files/nextcloud-update.sh $(1)/etc/tor/ $(INSTALL_BIN) ./files/nextcloud-update.sh $(1)/etc/tor/
$(INSTALL_DIR) $(1)/usr/libexec/rpcd $(INSTALL_DIR) $(1)/usr/libexec/rpcd
$(INSTALL_BIN) ./files/tor_rpcd.sh $(1)/usr/libexec/rpcd/
$(INSTALL_BIN) ./files/tor_rpcd.sh $(1)/usr/libexec/rpcd/tor-hs-rpc
endef endef
$(eval $(call BuildPackage,tor-hs)) $(eval $(call BuildPackage,tor-hs))

+ 1
- 1
net/tor-hs/README.md View File

@ -85,7 +85,7 @@ After that you should also restart rpcd daemon, so you can use tor-hs RPCD servi
RPCD servis helps users to access basic informations about hidden services on router. After running HS it contains onion url for given hidden service in hostname value. RPCD servis helps users to access basic informations about hidden services on router. After running HS it contains onion url for given hidden service in hostname value.
``` ```
root@turris:/# ubus call tor_rpcd.sh list-hs '{}'
root@turris:/# ubus call tor-hs-rpc list-hs '{}'
{ {
"hs-list": [ "hs-list": [
{ {


Loading…
Cancel
Save