summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/redistribute/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/ospf/redistribute/kernel')
-rw-r--r--templates/protocols/ospf/redistribute/kernel/node.def10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/protocols/ospf/redistribute/kernel/node.def b/templates/protocols/ospf/redistribute/kernel/node.def
index 20669be7..605e72a8 100644
--- a/templates/protocols/ospf/redistribute/kernel/node.def
+++ b/templates/protocols/ospf/redistribute/kernel/node.def
@@ -1,8 +1,8 @@
help: Set to redistribute kernel routes
delete:expression: "touch /tmp/ospf-redist-kernel.$PPID"
-end: vyatta-vtysh -c \"configure terminal\" \
- -c "router ospf" \
- -c "no redistribute kernel";
+end: vyatta-vtysh -c "configure terminal" \
+ -c "router ospf" \
+ -c "no redistribute kernel";
if [ -f "/tmp/ospf-redist-kernel.$PPID" ]; then
rm -f /tmp/ospf-redist-kernel.$PPID;
else
@@ -16,6 +16,6 @@ end: vyatta-vtysh -c \"configure terminal\" \
COND="$COND route-map $VAR(./route-map/@)";
fi;
vyatta-vtysh -c "configure terminal" \
- -c "router ospf" \
- -c "redistribute kernel $COND";
+ -c "router ospf" \
+ -c "redistribute kernel $COND";
fi;