summaryrefslogtreecommitdiff
path: root/templates/interfaces/tunnel
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-25 13:25:54 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-25 13:25:54 -0700
commitcafbb4f20e6863e87bd98a493dc739b8f4eaf899 (patch)
tree124fb99cd3ad02b2b626dda540810ffd31afedb9 /templates/interfaces/tunnel
parentfd605ab5d4ce4aa4015089042afd90f6e5c6ba59 (diff)
parentc5dbaa28cca4baa2404911a0b021768e34f0dd09 (diff)
downloadvyatta-cfg-system-cafbb4f20e6863e87bd98a493dc739b8f4eaf899.tar.gz
vyatta-cfg-system-cafbb4f20e6863e87bd98a493dc739b8f4eaf899.zip
Merge branch 'jenner' of suva.vyatta.com:/git/vyatta-cfg-system into jenner
Diffstat (limited to 'templates/interfaces/tunnel')
-rw-r--r--templates/interfaces/tunnel/node.tag/local-ip/node.def6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/interfaces/tunnel/node.tag/local-ip/node.def b/templates/interfaces/tunnel/node.tag/local-ip/node.def
index 9f9d52c0..0780210d 100644
--- a/templates/interfaces/tunnel/node.tag/local-ip/node.def
+++ b/templates/interfaces/tunnel/node.tag/local-ip/node.def
@@ -1,8 +1,8 @@
type: ipv4
help: Set the local IP address for this tunnel
-syntax:expression: exec "if [ -z \"`ip addr list | grep $VAR(@) `\" ]; then \
- echo IP address $VAR(@) doesn\\'t exist on this system ; \
- exit 1 ; \
+commit:expression: exec "if [ -z \"`ip addr list | grep $VAR(@) `\" ]; then \
+ echo IP address $VAR(@) doesn\\'t exist on this system ; \
+ exit 1 ; \
fi ; "
create:expression: "true"
update:expression: "false" ; \