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 /templates/policy/prefix-list | |
parent | f2d03803e6f10a430c1dc17436abd18f74b87a4d (diff) | |
download | vyatta-cfg-quagga-588492cf8a9ddf438b649c6db4986bcab9c22435.tar.gz vyatta-cfg-quagga-588492cf8a9ddf438b649c6db4986bcab9c22435.zip |
Replace vyatta-vtysh with vtysh
Diffstat (limited to 'templates/policy/prefix-list')
-rw-r--r-- | templates/policy/prefix-list/node.tag/rule/node.def | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/policy/prefix-list/node.tag/rule/node.def b/templates/policy/prefix-list/node.tag/rule/node.def index 977f5300..5b97a5f0 100644 --- a/templates/policy/prefix-list/node.tag/rule/node.def +++ b/templates/policy/prefix-list/node.tag/rule/node.def @@ -13,7 +13,7 @@ delete: touch /tmp/protocols-$VAR(../@)-$VAR(@).$PPID ; if [ -n "$VAR(./le/@)" ]; then cond="$cond le $VAR(./le/@) "; fi; - vyatta-vtysh -c "configure terminal" \ + vtysh -c "configure terminal" \ -c "no ip prefix-list $VAR(../@) seq $VAR(@) $VAR(./action/@) $VAR(./prefix/@) $cond " end: len=`echo $VAR(./prefix/@) | awk -F/ '{ print $2 }'` ; if [ -n "$VAR(./ge/@)" ]; then @@ -33,7 +33,7 @@ end: len=`echo $VAR(./prefix/@) | awk -F/ '{ print $2 }'` ; if [ -f "/tmp/protocols-$VAR(../@)-$VAR(@).$PPID" ]; then rm -f "protocols-$VAR(../@)-$VAR(@).$PPID" ; else - vyatta-vtysh -c "configure terminal" \ + vtysh -c "configure terminal" \ -c "ip prefix-list $VAR(../@) seq $VAR(@) $VAR(./action/@) $VAR(./prefix/@) $cond " ; fi ; exit 0 ; |