diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-03-25 13:25:54 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-03-25 13:25:54 -0700 |
commit | cafbb4f20e6863e87bd98a493dc739b8f4eaf899 (patch) | |
tree | 124fb99cd3ad02b2b626dda540810ffd31afedb9 /templates/interfaces/tunnel | |
parent | fd605ab5d4ce4aa4015089042afd90f6e5c6ba59 (diff) | |
parent | c5dbaa28cca4baa2404911a0b021768e34f0dd09 (diff) | |
download | vyatta-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.def | 6 |
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" ; \ |