tor: Fix initscript (again).

This commit is contained in:
Michael Tremer
2013-08-24 17:19:36 +02:00
parent 7586640395
commit ae650f9518

View 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