From 5c7b2ce2107aa4e1bfb5b73ef680a85e8f1fc89e Mon Sep 17 00:00:00 2001 From: Deepti Kulkarni Date: Wed, 16 Jun 2010 23:32:09 +0000 Subject: Changes to read policy and vrrp configuration for show tech-support. --- scripts/node-exists.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts') 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; } -- cgit v1.2.3