Browse Source

tor: preserve tor keys over sysupgrade

Mark the directories containing the keys for hidden services as
conffiles to preserve them over sysupgrade.

Fixes: #2247

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
lilik-openwrt-22.03
Hauke Mehrtens 8 years ago
parent
commit
3c3f709792
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      net/tor/Makefile

+ 2
- 0
net/tor/Makefile View File

@ -61,6 +61,8 @@ endef
define Package/tor/conffiles define Package/tor/conffiles
/etc/tor/torrc /etc/tor/torrc
/var/lib/tor/fingerprint
/var/lib/tor/keys/*
endef endef
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \


Loading…
Cancel
Save