• segfault's avatar
    tailslib: Add tor_has_boostrapped() · d9dd9d35
    segfault authored
    I add this function to a new file systemd.sh instead of tor.sh, to make
    it clear that this uses the systemd unit instead of communicating with
    the Tor control socket (which is what tor.sh does).
    
    This function should be used over tor_is_working() from tor.sh in
    scripts which don't already communicate with the Tor control socket.
    d9dd9d35
60-tor-ready.sh 1.24 KB