summaryrefslogtreecommitdiff
path: root/scripts/policy
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/policy')
-rwxr-xr-xscripts/policy/vyatta-policy.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/policy/vyatta-policy.pl b/scripts/policy/vyatta-policy.pl
index 5e77a322..8fd94843 100755
--- a/scripts/policy/vyatta-policy.pl
+++ b/scripts/policy/vyatta-policy.pl
@@ -3,7 +3,8 @@ use lib "/opt/vyatta/share/perl5/";
use VyattaConfig;
use VyattaMisc;
use Getopt::Long;
-$VTYSH='/opt/vyatta/sbin/vyatta-vtysh.pl';
+
+my $VTYSH='/usr/bin/vyatta-vtysh';
GetOptions("update-access-list=s" => \$accesslist,
"update-aspath-list=s" => \$aspathlist,