diff options
Diffstat (limited to 'templates/interfaces/loopback/node.def')
-rw-r--r-- | templates/interfaces/loopback/node.def | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/interfaces/loopback/node.def b/templates/interfaces/loopback/node.def index abc3203..72888fc 100644 --- a/templates/interfaces/loopback/node.def +++ b/templates/interfaces/loopback/node.def @@ -1,9 +1,9 @@ tag: type: txt -help: "Loopback interface name" -syntax: exec " \ - if [ -z \"`ip addr | grep $(@) `\" ]; then \ - echo loopback interface $(@) doesn\\'t exist on this system ; \ +help: Loopback interface name +syntax:expression: exec " \ + if [ -z \"`ip addr | grep $VAR(@) `\" ]; then \ + echo loopback interface $VAR(@) doesn\\'t exist on this system ; \ exit 1 ; \ fi ; " -update: "sudo ip link set $(@) up" +update:expression: "sudo ip link set $VAR(@) up" |