summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/passive-interface/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/ospf/passive-interface/node.def')
-rw-r--r--templates/protocols/ospf/passive-interface/node.def8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/protocols/ospf/passive-interface/node.def b/templates/protocols/ospf/passive-interface/node.def
index bfdf6b51..480d084e 100644
--- a/templates/protocols/ospf/passive-interface/node.def
+++ b/templates/protocols/ospf/passive-interface/node.def
@@ -8,21 +8,21 @@ syntax:expression: exec " \
fi ; "
update:expression: " \
if [ x$VAR(x) == xdefault ]; then \
- ${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" \
+ vyatta-vtysh -c \"configure terminal\" \
-c \"router ospf\" \
-c \"passive-interface default\"; \
else \
- ${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" \
+ vyatta-vtysh -c \"configure terminal\" \
-c \"router ospf\" \
-c \"passive-interface $VAR(@)\"; \
fi; "
delete:expression: " \
if [ x$VAR(x) == xdefault ]; then \
- ${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" \
+ vyatta-vtysh -c \"configure terminal\" \
-c \"router ospf\" \
-c \"no passive-interface default\"; \
else \
- ${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" \
+ vyatta-vtysh -c \"configure terminal\" \
-c \"router ospf\" \
-c \"no passive-interface $VAR(@)\"; \
fi; "