summaryrefslogtreecommitdiff
path: root/templates/protocols/rip/passive-interface/node.def
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-08-11 18:39:24 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-08-11 18:39:24 -0700
commit588492cf8a9ddf438b649c6db4986bcab9c22435 (patch)
tree20d85b8887a806be272c39e317cfef0baba95777 /templates/protocols/rip/passive-interface/node.def
parentf2d03803e6f10a430c1dc17436abd18f74b87a4d (diff)
downloadvyatta-cfg-quagga-588492cf8a9ddf438b649c6db4986bcab9c22435.tar.gz
vyatta-cfg-quagga-588492cf8a9ddf438b649c6db4986bcab9c22435.zip
Replace vyatta-vtysh with vtysh
Diffstat (limited to 'templates/protocols/rip/passive-interface/node.def')
-rw-r--r--templates/protocols/rip/passive-interface/node.def8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/protocols/rip/passive-interface/node.def b/templates/protocols/rip/passive-interface/node.def
index 1663df1b..a23ecf4f 100644
--- a/templates/protocols/rip/passive-interface/node.def
+++ b/templates/protocols/rip/passive-interface/node.def
@@ -7,17 +7,17 @@ syntax:expression: exec " \
exit 1 ; \
fi ; "
update:expression: "if [ x$VAR(x) == xdefault ]; then \
- vyatta-vtysh -c \"configure terminal\" -c \"router rip\" \
+ vtysh -c \"configure terminal\" -c \"router rip\" \
-c \"passive-interface default\"; \
else \
- vyatta-vtysh -c \"configure terminal\" -c \"router rip\" \
+ vtysh -c \"configure terminal\" -c \"router rip\" \
-c \"passive-interface $VAR(@)\"; \
fi; "
delete:expression: "if [ x$VAR(x) == xdefault ]; then \
- vyatta-vtysh -c \"configure terminal\" -c \"router rip\" \
+ vtysh -c \"configure terminal\" -c \"router rip\" \
-c \"no passive-interface default\"; \
else \
- vyatta-vtysh -c \"configure terminal\" -c \"router rip\" \
+ vtysh -c \"configure terminal\" -c \"router rip\" \
-c \"no passive-interface $VAR(@)\"; \
fi; "
allowed: local -a array;