]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
tor: Fix initscript (again).
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 24 Aug 2013 15:19:36 +0000 (17:19 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 24 Aug 2013 15:19:36 +0000 (17:19 +0200)
src/initscripts/init.d/tor

index 4fef577ac7fb2aee0118f0dad1b4643898c65061..d631e867f915e123e918383b3c9caa86af1e5a71 100644 (file)
@@ -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