summaryrefslogtreecommitdiffstats
path: root/bin/jerancid.in
diff options
context:
space:
mode:
authorTar Committer <tar@ocjtech.us>2005-03-30 07:52:00 +0000
committerTar Committer <tar@ocjtech.us>2005-03-30 07:52:00 +0000
commit4d684aecaacc9a59e7e9c0661934aeba0b16efec (patch)
tree84adf7c191abe898368aa09c6b3592f40250a42c /bin/jerancid.in
parent654a4573f8fd2b1109e0ded8d9ce061dd3a2093f (diff)
downloadrancid-4d684aecaacc9a59e7e9c0661934aeba0b16efec.tar.gz
rancid-4d684aecaacc9a59e7e9c0661934aeba0b16efec.tar.xz
rancid-4d684aecaacc9a59e7e9c0661934aeba0b16efec.zip
Imported from rancid-2.3.2a.tar.gz.rancid-2.3.2a
Diffstat (limited to 'bin/jerancid.in')
-rw-r--r--bin/jerancid.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/jerancid.in b/bin/jerancid.in
index 50da62b..4d51964 100644
--- a/bin/jerancid.in
+++ b/bin/jerancid.in
@@ -1,6 +1,6 @@
#! @PERLV_PATH@
##
-## $Id: jerancid.in,v 1.26 2004/06/04 18:07:37 heas Exp $
+## $Id: jerancid.in,v 1.30 2004/10/15 21:20:49 heas Exp $
##
## Copyright (C) 1997-2004 by Terrapin Communications, Inc.
## All rights reserved.
@@ -263,7 +263,7 @@ sub DirSlotN {
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/);
+ return(-1) if (/active\/standby/i && /not sync/);
ProcessHistory("FLASH","","","!Flash: $_");
}
@@ -307,6 +307,8 @@ sub WriteTerm {
# skip the crap
/^! Configuration script /i && next;
/^! Copyright /i && next;
+ /^Please wait/i && next;
+ /^(\.+)$/ && next; # Skip variable length pausing dot lines
# Dog gone Cool matches to process the rest of the config
/^ntp clock-period / && next; # kill ntp clock-period