brancid patch for Bay/Nortel GUI lock mechanism

Mark Cooper mcooper at blueyonder.co.uk
Wed Nov 28 11:11:11 UTC 2001


The following patch removes the lock-address line from the Bay/Nortel configs
which is used by Nortel's proprietary GUI to manage their routers.

HTH

Mark


*** brancid     Thu Nov 22 14:17:33 2001
--- brancid.patch    Wed Nov 28 10:18:09 2001
***************
*** 142,147 ****
--- 142,148 ----
        next if (/^Reading configuration information/);
        next if (/^\# *uptime +\d+\s*$/);
        next if (/^Can\'t find object or class named \"\-all\"\s*$/);
+       next if (/lock-address .*$/);
        s{^(\# *description \{.* )Created on .*(\}\s*)$}{$1$2};
        if (/community label /) {
            if (defined($ENV{'NOCOMMSTR'})) {





More information about the Rancid-discuss mailing list