From 805121114825148ebfa64c8dbc44411c0013a50f Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 17 Nov 2010 14:01:57 -0800 Subject: Remove useless comment Comment was providing no useful information not already present in the template. --- templates/interfaces/ethernet/node.tag/address/node.def | 6 ------ .../interfaces/ethernet/node.tag/vif/node.tag/address/node.def | 6 ------ 2 files changed, 12 deletions(-) (limited to 'templates') diff --git a/templates/interfaces/ethernet/node.tag/address/node.def b/templates/interfaces/ethernet/node.tag/address/node.def index 2395563c..dfacdb2d 100644 --- a/templates/interfaces/ethernet/node.tag/address/node.def +++ b/templates/interfaces/ethernet/node.tag/address/node.def @@ -4,15 +4,9 @@ type: txt help: IP address -# Syntax check at "set" time. Give curent address value to script -# so that it can perform syntax check. -# syntax:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --valid-addr-set $VAR(@) --dev $VAR(../@)"\ ; "Invalid IP address/prefix [$VAR(@)] for interface $VAR(../@)" -# Syntax check at "commit" time. Pass all address values to script so that -# it can perform consistency check. -# commit:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --valid-addr-commit $VAR(@@) --dev $VAR(../@)" create: diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/address/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/address/node.def index 7e1833c3..a77e9fc8 100644 --- a/templates/interfaces/ethernet/node.tag/vif/node.tag/address/node.def +++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/address/node.def @@ -4,15 +4,9 @@ type: txt help: IP address -# Syntax check at "set" time. Give curent address value to script -# so that it can perform syntax check. -# syntax:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --valid-addr-set $VAR(@) --dev $VAR(../../@).$VAR(../@) "\ ; "Invalid IP address/prefix [$VAR(@)] for interface $VAR(../../@).$VAR(../@)" -# Syntax check at "commit" time. Pass all address values to script so that -# it can perform consistency check. -# commit:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --valid-addr-commit $VAR(@@) --dev $VAR(../../@).$VAR(../@)" create:sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-update $VAR(@) --dev $VAR(../../@).$VAR(../@) -- cgit v1.2.3