diff options
author | Deepti Kulkarni <deepti@vyatta.com> | 2010-06-16 23:32:09 +0000 |
---|---|---|
committer | Deepti Kulkarni <deepti@vyatta.com> | 2010-06-16 23:32:09 +0000 |
commit | 5c7b2ce2107aa4e1bfb5b73ef680a85e8f1fc89e (patch) | |
tree | 651ebb93b0ee5ee7b8249adc68d1ee224ee03ada /scripts | |
parent | d5e4a8d0115651595e10de755daabf3c49069800 (diff) | |
download | vyatta-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-x | scripts/node-exists.pl | 4 |
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; } |