From dea399178ec1cb67d8235cc476a82dcd6a24080c Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 24 Aug 2013 17:19:36 +0200 Subject: [PATCH 1/2] tor: Fix initscript (again). --- src/initscripts/init.d/tor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/initscripts/init.d/tor b/src/initscripts/init.d/tor index 4fef577ac..d631e867f 100644 --- a/src/initscripts/init.d/tor +++ b/src/initscripts/init.d/tor @@ -9,13 +9,13 @@ . /etc/sysconfig/rc . ${rc_functions} +eval $(/usr/local/bin/readhash /var/ipfire/tor/settings) + function tor_is_enabled() { [ "${TOR_ENABLED}" = "on" ] || [ "${TOR_RELAY_ENABLED}" = "on" ] } function setup_firewall() { - eval $(/usr/local/bin/readhash /var/ipfire/tor/settings) - # Flush all rules. flush_firewall From 0ac1ed294cab836e10f3f80f2d57d0e868a198a1 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sat, 24 Aug 2013 18:38:34 +0200 Subject: [PATCH 2/2] tor: bump package version nr. --- lfs/tor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lfs/tor b/lfs/tor index ae63d961a..6161a5648 100644 --- a/lfs/tor +++ b/lfs/tor @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = tor -PAK_VER = 2 +PAK_VER = 3 DEPS = "libevent2"