summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-05-21 15:01:12 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-05-21 15:01:12 -0700
commit2d1d83a990dd335fe5f06a7b42020ce4faed5011 (patch)
tree99ec350d02213c3acb592886005f63b8c6fa0a73 /templates
parent17ed70940a38afa3da375c1b7621ceeb30530852 (diff)
downloadvyatta-cfg-quagga-2d1d83a990dd335fe5f06a7b42020ce4faed5011.tar.gz
vyatta-cfg-quagga-2d1d83a990dd335fe5f06a7b42020ce4faed5011.zip
Fix templates for disable-link-detect when using vif on serial
The vif templates were incorrect. The name was wrong and multilink was arranged incorrectly.
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/multilink/node.tag/vif/node.tag/disable-link-detect/node.def (renamed from templates/interfaces/multilink/vif/node.tag/disable-link-detect/node.def)10
-rw-r--r--templates/interfaces/serial/node.tag/cisco-hdlc/vif/node.tag/disable-link-detect/node.def10
-rw-r--r--templates/interfaces/serial/node.tag/frame-relay/vif/node.tag/disable-link-detect/node.def10
-rw-r--r--templates/interfaces/serial/node.tag/ppp/vif/node.tag/disable-link-detect/node.def10
4 files changed, 24 insertions, 16 deletions
diff --git a/templates/interfaces/multilink/vif/node.tag/disable-link-detect/node.def b/templates/interfaces/multilink/node.tag/vif/node.tag/disable-link-detect/node.def
index e85cadd9..2bc34032 100644
--- a/templates/interfaces/multilink/vif/node.tag/disable-link-detect/node.def
+++ b/templates/interfaces/multilink/node.tag/vif/node.tag/disable-link-detect/node.def
@@ -1,6 +1,8 @@
help: ignore link state changes on this interface
-update: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" -c "interface $VAR(../../@).$VAR(../@)" \
- -c "no link-detect"
-delete: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" -c "interface $VAR(../../@).$VAR(../@)" \
- -c "link-detect"
+update: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \
+ -c "interface $VAR(../../@).$VAR(../@)" \
+ -c "no link-detect"
+delete: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \
+ -c "interface $VAR(../../@).$VAR(../@)" \
+ -c "link-detect"
diff --git a/templates/interfaces/serial/node.tag/cisco-hdlc/vif/node.tag/disable-link-detect/node.def b/templates/interfaces/serial/node.tag/cisco-hdlc/vif/node.tag/disable-link-detect/node.def
index e85cadd9..6bb69330 100644
--- a/templates/interfaces/serial/node.tag/cisco-hdlc/vif/node.tag/disable-link-detect/node.def
+++ b/templates/interfaces/serial/node.tag/cisco-hdlc/vif/node.tag/disable-link-detect/node.def
@@ -1,6 +1,8 @@
help: ignore link state changes on this interface
-update: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" -c "interface $VAR(../../@).$VAR(../@)" \
- -c "no link-detect"
-delete: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" -c "interface $VAR(../../@).$VAR(../@)" \
- -c "link-detect"
+update: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \
+ -c "interface $VAR(../../../@).$VAR(../@)" \
+ -c "no link-detect"
+delete: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \
+ -c "interface $VAR(../../../@).$VAR(../@)" \
+ -c "link-detect"
diff --git a/templates/interfaces/serial/node.tag/frame-relay/vif/node.tag/disable-link-detect/node.def b/templates/interfaces/serial/node.tag/frame-relay/vif/node.tag/disable-link-detect/node.def
index e85cadd9..6bb69330 100644
--- a/templates/interfaces/serial/node.tag/frame-relay/vif/node.tag/disable-link-detect/node.def
+++ b/templates/interfaces/serial/node.tag/frame-relay/vif/node.tag/disable-link-detect/node.def
@@ -1,6 +1,8 @@
help: ignore link state changes on this interface
-update: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" -c "interface $VAR(../../@).$VAR(../@)" \
- -c "no link-detect"
-delete: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" -c "interface $VAR(../../@).$VAR(../@)" \
- -c "link-detect"
+update: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \
+ -c "interface $VAR(../../../@).$VAR(../@)" \
+ -c "no link-detect"
+delete: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \
+ -c "interface $VAR(../../../@).$VAR(../@)" \
+ -c "link-detect"
diff --git a/templates/interfaces/serial/node.tag/ppp/vif/node.tag/disable-link-detect/node.def b/templates/interfaces/serial/node.tag/ppp/vif/node.tag/disable-link-detect/node.def
index e85cadd9..6bb69330 100644
--- a/templates/interfaces/serial/node.tag/ppp/vif/node.tag/disable-link-detect/node.def
+++ b/templates/interfaces/serial/node.tag/ppp/vif/node.tag/disable-link-detect/node.def
@@ -1,6 +1,8 @@
help: ignore link state changes on this interface
-update: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" -c "interface $VAR(../../@).$VAR(../@)" \
- -c "no link-detect"
-delete: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" -c "interface $VAR(../../@).$VAR(../@)" \
- -c "link-detect"
+update: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \
+ -c "interface $VAR(../../../@).$VAR(../@)" \
+ -c "no link-detect"
+delete: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \
+ -c "interface $VAR(../../../@).$VAR(../@)" \
+ -c "link-detect"