summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/redistribute/kernel/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/ospf/redistribute/kernel/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/ospf/redistribute/kernel/node.def')
-rw-r--r--templates/protocols/ospf/redistribute/kernel/node.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/protocols/ospf/redistribute/kernel/node.def b/templates/protocols/ospf/redistribute/kernel/node.def
index 605e72a8..5e2fc586 100644
--- a/templates/protocols/ospf/redistribute/kernel/node.def
+++ b/templates/protocols/ospf/redistribute/kernel/node.def
@@ -1,6 +1,6 @@
help: Set to redistribute kernel routes
delete:expression: "touch /tmp/ospf-redist-kernel.$PPID"
-end: vyatta-vtysh -c "configure terminal" \
+end: vtysh -c "configure terminal" \
-c "router ospf" \
-c "no redistribute kernel";
if [ -f "/tmp/ospf-redist-kernel.$PPID" ]; then
@@ -15,7 +15,7 @@ end: vyatta-vtysh -c "configure terminal" \
if [ -n "$VAR(./route-map/@)" ]; then
COND="$COND route-map $VAR(./route-map/@)";
fi;
- vyatta-vtysh -c "configure terminal" \
+ vtysh -c "configure terminal" \
-c "router ospf" \
-c "redistribute kernel $COND";
fi;