summaryrefslogtreecommitdiff
path: root/scripts/vyatta-policy-action-verify.pl
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-08-12 12:29:28 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-08-12 12:29:28 -0700
commitfa69d96c5958a579900600734549038ac12e93bc (patch)
treef91a61d9de326812808ec75badfd316de9d2ce77 /scripts/vyatta-policy-action-verify.pl
parent588492cf8a9ddf438b649c6db4986bcab9c22435 (diff)
downloadvyatta-cfg-quagga-fa69d96c5958a579900600734549038ac12e93bc.tar.gz
vyatta-cfg-quagga-fa69d96c5958a579900600734549038ac12e93bc.zip
Revert "Replace vyatta-vtysh with vtysh"
This reverts commit 588492cf8a9ddf438b649c6db4986bcab9c22435.
Diffstat (limited to 'scripts/vyatta-policy-action-verify.pl')
-rw-r--r--scripts/vyatta-policy-action-verify.pl4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/vyatta-policy-action-verify.pl b/scripts/vyatta-policy-action-verify.pl
index 1154f5c7..5ddd2974 100644
--- a/scripts/vyatta-policy-action-verify.pl
+++ b/scripts/vyatta-policy-action-verify.pl
@@ -31,8 +31,6 @@ use strict;
use POSIX;
use File::Copy;
-my $VTYSH='/usr/bin/vtysh';
-
#solution: put a commit statement in the rule node that does the action test and squirt out delete hook in rule node on a delete.
my $route_map = shift;
@@ -57,5 +55,5 @@ foreach my $qualifiers (@qualifiers) {
#need to get a count of what's left and if action is deleted, but other nodes are present then reject
if (-e "/tmp/delete-policy-route-map-$route_map-rule-$rule") {
- system "$VTYSH -c \"configure terminal\" -c \"no route-map $route_map $action $rule\"";
+ system "/usr/bin/vyatta-vtysh -c \"configure terminal\" -c \"no route-map $route_map $action $rule\"";
}