summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDeepti Kulkarni <deepti@vyatta.com>2010-06-16 23:32:09 +0000
committerDeepti Kulkarni <deepti@vyatta.com>2010-06-16 23:32:09 +0000
commit5c7b2ce2107aa4e1bfb5b73ef680a85e8f1fc89e (patch)
tree651ebb93b0ee5ee7b8249adc68d1ee224ee03ada /scripts
parentd5e4a8d0115651595e10de755daabf3c49069800 (diff)
downloadvyatta-op-5c7b2ce2107aa4e1bfb5b73ef680a85e8f1fc89e.tar.gz
vyatta-op-5c7b2ce2107aa4e1bfb5b73ef680a85e8f1fc89e.zip
Changes to read policy and vrrp configuration for show tech-support.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/node-exists.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/node-exists.pl b/scripts/node-exists.pl
index 8a77ea3..4a7505f 100755
--- a/scripts/node-exists.pl
+++ b/scripts/node-exists.pl
@@ -39,8 +39,10 @@ if ($ARGV[0])
$level = $level . " " . $sublevel;
$i++;
}
-
+ if ($ARGV[1])
+ {
$config->setLevel($level);
+ }
if ($config->existsOrig($node))
{ exit 0; }
else { exit 1; }