Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
rancid-stable
> rancid-3.2-brocadevdx.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File rancid-3.2-brocadevdx.patch of Package rancid-stable (Revision 30)
Currently displaying revision
30
,
show latest
--- lib/foundry.pm.in.orig 2015-05-29 15:24:49.881449738 +0200 +++ lib/foundry.pm.in 2015-05-29 15:24:59.441461206 +0200 @@ -350,7 +350,7 @@ ProcessHistory("","","","$_"); # end of config - if (/^end$/) { + if (/^end$/ || /!$/) { $found_end = 1; return(1); } --- bin/clogin.in.orig 2015-05-29 15:06:34.994161664 +0200 +++ bin/clogin.in 2015-05-29 15:12:58.296551023 +0200 @@ -942,9 +942,13 @@ expect -re $prompt {} send "set logging session disable\r" } else { - send "terminal length 0\r" - expect -re $prompt {} - send "terminal width 132\r" + if { [string compare "brocadevdx" "$platform"] } { + send "terminal length 0\r" + } else { + send "terminal length 0\r" + expect -re $prompt {} + send "terminal width 132\r" + } } expect -re $prompt {} } else {