<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Thank you, I will try doing this.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I also want to report an interesting find that happened to me.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>So today, I had to shut down my router for it to install a firmware update (it’s a netgear router, this firmware update will hopefully resolve my issue of dropping connections randomly). </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Here’s what happened:</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The firmware update ended up taking long enough for my relay to be removed form the conscious list.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>However, I did not restart the tor relaying software on my computer while my internet was offline as my router was installing the firmware update.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>When my relay reappeared, my uptime on both <a href="http://torstatus.blutmagie.de/router_detail.php?FP=db1af6477bb276b6ea5e72132684096eee779d30">http://torstatus.blutmagie.de/router_detail.php?FP=db1af6477bb276b6ea5e72132684096eee779d30</a> and also <a href="https://metrics.torproject.org/rs.html#details/DB1AF6477BB276B6EA5E72132684096EEE779D30">https://metrics.torproject.org/rs.html#details/DB1AF6477BB276B6EA5E72132684096EEE779D30</a> jumped immediately back to “uptime: 5 days 3 hours” which had been my about uptime before I had to shut my router down.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>My suspicion is that my posted uptime was retained because I did not restart the relay software while my router firmware was updating (it was offline for about 2 hours), but it thought I’d share this little thing I noticed.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thank you.</p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='border:none;padding:0in'><b>From: </b><a href="mailto:teor2345@gmail.com">teor</a><br><b>Sent: </b>Tuesday, May 1, 2018 3:44 PM<br><b>To: </b><a href="mailto:tor-relays@lists.torproject.org">tor-relays@lists.torproject.org</a><br><b>Subject: </b>Re: [tor-relays] Help With Autoupdating Tor Software</p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> On 2 May 2018, at 03:58, Keifer Bly <keifer.bly@gmail.com> wrote:</p><p class=MsoNormal>> </p><p class=MsoNormal>> do shell script "$ which brew</p><p class=MsoNormal>> /usr/local/bin/brew update"</p><p class=MsoNormal>> do shell script "$ which brew</p><p class=MsoNormal>> /usr/local/bin/brew upgrade tor"</p><p class=MsoNormal>> end</p><p class=MsoNormal>> </p><p class=MsoNormal>> </p><p class=MsoNormal>> When the script is run, the output is this:</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>$ which brew</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> sh: $: command not found</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>/usr/local/bin/brew upgrade tor</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>> Error: tor 0.3.2.10 already installed</p><p class=MsoNormal>> </p><p class=MsoNormal>> So it seems to be that it updates tor ok but when it tries to update homebrew the error is “command not found”.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>No, bash can't find the $ command.</p><p class=MsoNormal>This is probably a copy-paste error.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Try running the lines of your script one at a time in the terminal.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Or just remove the "$ which brew" line, it doesn't do anything.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>T</p><p class=MsoNormal>_______________________________________________</p><p class=MsoNormal>tor-relays mailing list</p><p class=MsoNormal>tor-relays@lists.torproject.org</p><p class=MsoNormal>https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</p><p class=MsoNormal><o:p> </o:p></p></div></body></html>