summaryrefslogtreecommitdiffstats
path: root/bin/rancid-fe
diff options
context:
space:
mode:
authorTar Committer <tar@ocjtech.us>2000-02-03 17:55:28 +0000
committerTar Committer <tar@ocjtech.us>2000-02-03 17:55:28 +0000
commitb24aa5051db5d4bf9757efe7df06cb1892898382 (patch)
tree9cdcee7bb6f7780d08f94997af4f8232b5bd0417 /bin/rancid-fe
parent42de2e53682c49b050f19fdbaaf68451ba487303 (diff)
downloadrancid-b24aa5051db5d4bf9757efe7df06cb1892898382.tar.gz
rancid-b24aa5051db5d4bf9757efe7df06cb1892898382.tar.xz
rancid-b24aa5051db5d4bf9757efe7df06cb1892898382.zip
Imported from rancid-1.4.tar.gz.rancid-1.4
Diffstat (limited to 'bin/rancid-fe')
-rwxr-xr-xbin/rancid-fe6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/rancid-fe b/bin/rancid-fe
index e3dc94e..8dab8a5 100755
--- a/bin/rancid-fe
+++ b/bin/rancid-fe
@@ -21,12 +21,18 @@
# usage: rancid-fe <router>:<vendor>
#
+require 5;
+
($router, $vendor) = split('\:', $ARGV[0]);
if ($vendor =~ /^cisco$/i) {
exec('rancid', $router);
} elsif ($vendor =~ /^juniper$/i) {
exec('jrancid', $router);
+} elsif ($vendor =~ /^foundry$/i) {
+ exec('francid', $router);
+} elsif ($vendor =~ /^redback$/i) {
+ exec('rrancid', $router);
}
printf(STDERR "unknown router manufacturer for $router: $vendor\n");