[rancid] Re: ERX bugs in Rancid?
john heasley
heas at shrubbery.net
Sun Jun 17 19:24:23 UTC 2007
Fri, Jun 15, 2007 at 04:11:13PM +0200, Neil Orley:
> Hello,
>
> I've just commmented in this line 266 in the clogin file, and now it seems
> to work fine with the ERX1440 :
Could you provide more information? What is the actually output of the
dir command?
> # This routine parses "dir"
>
> sub DirSlotN {
>
> print STDERR " In DirSlotN: $_" if ($debug);
>
>
> my($dev) = (/\s([^\s]+):/);
>
>
>
> while (<INPUT>) {
>
> tr/\015//d;
>
> last if (/^$prompt/);
>
> next if (/^(\s*|\s*$cmd\s*)$/);
>
> next if (/^Please wait/i);
>
> next if (/^system\.log/);
>
> # fail if the RP is amid the auto-sync process
>
> *#return(-1) if (/active\/standby/ && /not sync/);*
>
>
>
> ProcessHistory("FLASH","","","!Flash: $_");
>
> }
>
> ProcessHistory("","","","!\n");
>
> return(0);
>
> }
>
>
>
> Regards,
>
> Neil ORLEY
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
More information about the Rancid-discuss
mailing list