Wed, May 16, 2018 at 05:08:04PM +0000, o...@leferguson.com:
> > Looks a lot like a Ubiquiti EdgeMAX so presumably Ubiquiti and Netgear are 
> > buying the design from the same place.
> > You're in luck:
> > #  edgemax.pm - Ubiquity ("UBNT") EdgeMAX switch rancid procedures
> > 
> 
> Real close but it uses exit not logout.  exit won't actually log off, it just 
> loops forever.  Doing a site turn-up now so cannot experiment much more until 
> later today or evening.  Not sure if that part is in clogin or the module 
> edgemax.
> 
> Thanks, getting closer. 
> 
> Linwood

i'd added this for f5 v13, perhaps something similar would work for ulogin.

Index: bin/clogin.in
===================================================================
--- bin/clogin.in       (revision 3786)
+++ bin/clogin.in       (working copy)
@@ -440,6 +440,11 @@
                                                  send -h "exit\r"
                                                  exp_continue;
                                                }
+       -re "^\[^\n\r *]*Use .quit. to end"     {
+                                                 # the F5 >=11 uses quit
+                                                 send -h "quit\r"
+                                                 exp_continue;
+                                               }
        "The system has unsaved changes"        { # Force10 SFTOS
                                                  if {$do_saveconfig} {
                                                    catch {send "y\r"}

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss

Reply via email to