From 1eda66500afdd019cf675bfa6acf99fc977e87d0 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Wed, 1 Apr 2009 15:49:33 -0700 Subject: Change "syntax" check to "commit" check for virtual interfaces. Change to use script for allowed values. --- templates/interfaces/ethernet/node.tag/bond-group/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/interfaces/ethernet') diff --git a/templates/interfaces/ethernet/node.tag/bond-group/node.def b/templates/interfaces/ethernet/node.tag/bond-group/node.def index ea1b63eb..2109b5ac 100644 --- a/templates/interfaces/ethernet/node.tag/bond-group/node.def +++ b/templates/interfaces/ethernet/node.tag/bond-group/node.def @@ -1,6 +1,6 @@ type: txt help: Add this interface to a bonding group -syntax:expression: exec \ +commit:expression: exec \ "/opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(@) --check=bonding" allowed: /opt/vyatta/sbin/vyatta-interfaces.pl --show=bonding create: sudo ifenslave $VAR(@) $VAR(../@) -- cgit v1.2.3