diff options
author | Tar Committer <tar@ocjtech.us> | 2007-01-14 05:39:54 +0000 |
---|---|---|
committer | Tar Committer <tar@ocjtech.us> | 2007-01-14 05:39:54 +0000 |
commit | ac54243f382e817c08c1f895ccfdc05dcacdb044 (patch) | |
tree | 1c9b224e2714d9a6fd0ba8a7b211e287d3f8c9b9 /bin/jrancid.in | |
parent | 1a7c45398738cdb4eaafdc9e0962272f19d54816 (diff) | |
download | rancid-ac54243f382e817c08c1f895ccfdc05dcacdb044.tar.gz rancid-ac54243f382e817c08c1f895ccfdc05dcacdb044.tar.xz rancid-ac54243f382e817c08c1f895ccfdc05dcacdb044.zip |
Imported from rancid-2.3.2a7.tar.gz.rancid-2.3.2a7
Diffstat (limited to 'bin/jrancid.in')
-rw-r--r-- | bin/jrancid.in | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/bin/jrancid.in b/bin/jrancid.in index 73dc5fa..252b1a3 100644 --- a/bin/jrancid.in +++ b/bin/jrancid.in @@ -1,6 +1,6 @@ #! @PERLV_PATH@ ## -## $Id: jrancid.in,v 1.79 2006/10/05 04:27:43 heas Exp $ +## $Id: jrancid.in,v 1.80 2006/12/05 17:14:27 heas Exp $ ## ## @PACKAGE@ @VERSION@ ## Copyright (C) 1997-2006 by Terrapin Communications, Inc. @@ -183,7 +183,7 @@ sub ShowChassisClocks { } ProcessHistory("","","","# $_"); } - return; + return(0); } # This routine parses "show chassis environment" @@ -216,7 +216,7 @@ sub ShowChassisEnvironment { ProcessHistory("","","","# $1\n") && next; ProcessHistory("","","","# $_"); } - return; + return(0); } # This routine parses "show chassis firmware" @@ -240,7 +240,7 @@ sub ShowChassisFirmware { ProcessHistory("","","","# $_"); } - return; + return(0); } # This routine parses "show chassis fpc detail" @@ -267,7 +267,7 @@ sub ShowChassisFpcDetail { / Uptime/ && next; ProcessHistory("","","","# $_"); } - return; + return(0); } # This routine parses "show chassis hardware" @@ -291,7 +291,7 @@ sub ShowChassisHardware { ProcessHistory("","","","# $_"); } - return; + return(0); } # This routine parses "show chassis routing-engine" @@ -323,7 +323,7 @@ sub ShowChassisRoutingEngine { / Serial ID/ && ProcessHistory("","","","# $_") && next; /^\s*$/ && ProcessHistory("","","","# $_") && next; } - return; + return(0); } # This routine parses "show chassis cfeb", "show chassis feb", "show @@ -358,7 +358,7 @@ sub ShowChassisSCB { ProcessHistory("","","","# $_"); } $ShowChassisSCB = 1; - return; + return(0); } # This routine parses "show chassis alarms" @@ -380,7 +380,7 @@ sub ShowChassisAlarms { ProcessHistory("","","","# $_"); } - return; + return(0); } # This routine parses "show system autoinstallation status" @@ -402,7 +402,7 @@ sub ShowSystemAutoinstall { ProcessHistory("","","","# $_"); } - return; + return(0); } sub ShowSystemCoreDumps { @@ -444,7 +444,7 @@ sub ShowSystemLicense { ProcessHistory("","","","# $_"); } - return; + return(0); } # This routine parses "show system license keys" @@ -466,7 +466,7 @@ sub ShowSystemLicenseKeys { ProcessHistory("","","","# $_"); } - return; + return(0); } # This routine parses "show system boot-messages" @@ -493,7 +493,7 @@ sub ShowSystemBootMessages { /^\/dev\// && next; ProcessHistory("","","","# $_"); } - return; + return(0); } # This routine parses "show version" @@ -514,7 +514,7 @@ sub ShowVersion { } ProcessHistory("","","","#\n"); - return; + return(0); } # This routine parses "show configuration" @@ -588,7 +588,7 @@ sub ShowConfiguration { return(-1); } - return; + return(0); } ### |