diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-08-11 18:39:24 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-08-11 18:39:24 -0700 |
commit | 588492cf8a9ddf438b649c6db4986bcab9c22435 (patch) | |
tree | 20d85b8887a806be272c39e317cfef0baba95777 /scripts/vyatta-policy-action-verify.pl | |
parent | f2d03803e6f10a430c1dc17436abd18f74b87a4d (diff) | |
download | vyatta-cfg-quagga-588492cf8a9ddf438b649c6db4986bcab9c22435.tar.gz vyatta-cfg-quagga-588492cf8a9ddf438b649c6db4986bcab9c22435.zip |
Replace vyatta-vtysh with vtysh
Diffstat (limited to 'scripts/vyatta-policy-action-verify.pl')
-rw-r--r-- | scripts/vyatta-policy-action-verify.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/vyatta-policy-action-verify.pl b/scripts/vyatta-policy-action-verify.pl index 5ddd2974..1154f5c7 100644 --- a/scripts/vyatta-policy-action-verify.pl +++ b/scripts/vyatta-policy-action-verify.pl @@ -31,6 +31,8 @@ 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; @@ -55,5 +57,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 "/usr/bin/vyatta-vtysh -c \"configure terminal\" -c \"no route-map $route_map $action $rule\""; + system "$VTYSH -c \"configure terminal\" -c \"no route-map $route_map $action $rule\""; } |