diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-08-12 12:29:28 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-08-12 12:29:28 -0700 |
commit | fa69d96c5958a579900600734549038ac12e93bc (patch) | |
tree | f91a61d9de326812808ec75badfd316de9d2ce77 /scripts/vyatta-policy-action-verify.pl | |
parent | 588492cf8a9ddf438b649c6db4986bcab9c22435 (diff) | |
download | vyatta-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.pl | 4 |
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\""; } |