Commit a510bac0 authored by Tails developers's avatar Tails developers

Revert "Uncomment tor bootstrap progress function"

This reverts commit 99874039.

Uncommenting this (dangerous, potentially buggy) function masks the (working)
one with the same name in the 20-time.sh NM hook..
parent ec863fa2
......@@ -33,10 +33,10 @@ tor_control_setconf() {
# stuck at "Bootstrapped 5%" quite often. Is Tor sensitive to opening
# control ports and/or issuing "getinfo status/bootstrap-phase" during
# early bootstrap? Because of this we fallback to greping the log.
tor_bootstrap_progress() {
tor_control_getinfo status/bootstrap-phase | \
sed 's/^.* BOOTSTRAP PROGRESS=\([[:digit:]]\+\) .*$/\1/'
}
#tor_bootstrap_progress() {
# tor_control_getinfo status/bootstrap-phase | \
# sed 's/^.* BOOTSTRAP PROGRESS=\([[:digit:]]\+\) .*$/\1/'
#}
tor_is_working() {
[ -e $TOR_DESCRIPTORS ] || [ -e $NEW_TOR_DESCRIPTORS ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment