summaryrefslogtreecommitdiff
path: root/templates/policy/prefix-list
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@ancheng-vm.localdomain>2007-10-01 14:17:06 -0700
committerAn-Cheng Huang <ancheng@ancheng-vm.localdomain>2007-10-01 14:17:06 -0700
commitcda784ae0d8e3d4c08daa3b4225156f34122b4c2 (patch)
treeb6d62e7dabec6ea45a09a6ee2f805f079c25c920 /templates/policy/prefix-list
parentcfa368bbc1d4c55c42c60838e04fc523625932b7 (diff)
downloadvyatta-cfg-quagga-cda784ae0d8e3d4c08daa3b4225156f34122b4c2.tar.gz
vyatta-cfg-quagga-cda784ae0d8e3d4c08daa3b4225156f34122b4c2.zip
fixed dependency and quagga path.
Diffstat (limited to 'templates/policy/prefix-list')
-rw-r--r--templates/policy/prefix-list/node.tag/rule/node.def4
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 7750cba9..55c1e70c 100644
--- a/templates/policy/prefix-list/node.tag/rule/node.def
+++ b/templates/policy/prefix-list/node.tag/rule/node.def
@@ -9,7 +9,7 @@ delete: "touch /tmp/protocols-$(../@)-$(@).\\$PPID \
if [ -n \"$(./le/@)\" ] && [ $(./le/@) -ne 32 ]; then \
COND=\"\\$COND le $(./le/@) \"; \
fi; \
- /opt/vyatta/bin/vtysh -c \"configure terminal\" \
+ /usr/bin/vtysh -c \"configure terminal\" \
-c \"no ip prefix-list $(../@) seq $(@) $(./action/@) $(./prefix/@) \\$COND \" "
end: "LEN=`echo $(@) | awk -F/ '{ print \\$2 }'` ; \
if [ -n \"$(./ge/@)\" ]; then \
@@ -29,7 +29,7 @@ end: "LEN=`echo $(@) | awk -F/ '{ print \\$2 }'` ; \
if [ -f \"/tmp/protocols-$(../@)-$(@).\\$PPID\" ]; then \
rm -f \"protocols-$(../@)-$(@).\\$PPID\" ; \
else \
- /opt/vyatta/bin/vtysh -c \"configure terminal\" \
+ /usr/bin/vtysh -c \"configure terminal\" \
-c \"ip prefix-list $(../@) seq $(@) $(./action/@) $(./prefix/@) \\$COND \" ; \
fi ; \
exit 0 ; "