thank you. i should be able to figure out from here. i will let you know.<br><br><div class="gmail_quote">On Fri, Jan 29, 2010 at 6:00 AM, Martin Barry <span dir="ltr"><<a href="mailto:marty@supine.com">marty@supine.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">$quoted_author = "Brian Lam" ;<br>
<div class="im">><br>
> The expect / python script /usr/local/rancid/bin/clogin was looping because<br>
> my router doesn't like 'exit' and prefer 'quit'.<br>
<br>
</div>You can either modify the following to match the 'force10' platform (does<br>
the newer one accept quit?)<br>
<br>
# line 678<br>
if { [ string compare "extreme" "$platform" ] } {<br>
send -h "exit\r"<br>
} else {<br>
send -h "quit\r"<br>
}<br>
<br>
<br>
or you could add a stanza in the next section to catch the error thrown when<br>
sending 'exit' to old force10.<br>
<br>
cheers<br>
Marty<br>
_______________________________________________<br>
Rancid-discuss mailing list<br>
<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
<a href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Brian Lam | IT/Operations | Rockyou, Inc. | Phone: 408-425-9801 | AIM: brianclam2<br>