summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/ethernet/node.tag/speed/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/ethernet/node.tag/speed/node.def b/templates/interfaces/ethernet/node.tag/speed/node.def
index a986490..58347a6 100644
--- a/templates/interfaces/ethernet/node.tag/speed/node.def
+++ b/templates/interfaces/ethernet/node.tag/speed/node.def
@@ -1,6 +1,6 @@
type: txt
help: "set the speed for this interface"
syntax: $(@) in "10", "100", "1000"; "Speed must be 10, 100, or 1000"
-commit: $(../duplex/@) != ""; "if speed is hardcoded, duplex must also be hardcoded"
+commit: $(../duplex) != ""; "if speed is hardcoded, duplex must also be hardcoded"
update: "sudo ethtool -s $(../@) speed $(@) duplex $(../duplex/@) autoneg off"
delete: "sudo ethtool -s $(../@) autoneg on"