From 7b6dc5c96511ebdb55221c54ed340733b4e8ba27 Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Fri, 11 Apr 2008 21:53:24 +0000 Subject: Fix Bug 3069 Help strings should be standardized - help strings standardized in vyatta-cfg --- templates/interfaces/ethernet/node.def | 2 +- templates/interfaces/loopback/node.def | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/interfaces') diff --git a/templates/interfaces/ethernet/node.def b/templates/interfaces/ethernet/node.def index 444affe..d2cfa84 100644 --- a/templates/interfaces/ethernet/node.def +++ b/templates/interfaces/ethernet/node.def @@ -1,6 +1,6 @@ tag: type: txt -help: Set ethernet interface name +help: Set ethernet interface syntax:expression: exec " \ if [ -z \"`ip link | egrep -v 'eth[0-9]+[.]' | grep $VAR(@)`\" ]; then \ echo Invalid ethernet interface [$VAR(@)]; \ diff --git a/templates/interfaces/loopback/node.def b/templates/interfaces/loopback/node.def index cc59c27..7b7a304 100644 --- a/templates/interfaces/loopback/node.def +++ b/templates/interfaces/loopback/node.def @@ -1,6 +1,6 @@ tag: type: txt -help: Set loopback interface name +help: Set loopback interface syntax:expression: exec " \ if [ -z \"`ip addr | grep $VAR(@) `\" ]; then \ echo loopback interface $VAR(@) doesn\\'t exist on this system ; \ -- cgit v1.2.3