summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJustin Fletcher <jfletcher@phuket.vyatta.com>2007-11-05 17:31:29 -0800
committerJustin Fletcher <jfletcher@phuket.vyatta.com>2007-11-05 17:31:29 -0800
commitdd44aa3fb6baf361cb59a5cd5c4dd3f77080d82b (patch)
tree00947105d4eff0ffb1a21980a2f4572325d9739c /templates
parentd3f68b858599d58f7efe9fa3ebc40ce7e3be51ec (diff)
downloadvyatta-cfg-dd44aa3fb6baf361cb59a5cd5c4dd3f77080d82b.tar.gz
vyatta-cfg-dd44aa3fb6baf361cb59a5cd5c4dd3f77080d82b.zip
User message modifications
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/ethernet/node.tag/address/node.def4
-rw-r--r--templates/interfaces/ethernet/node.tag/mac/node.def4
-rw-r--r--templates/interfaces/ethernet/node.tag/mtu/node.def4
-rw-r--r--templates/interfaces/ethernet/node.tag/vif/node.tag/address/node.def2
-rw-r--r--templates/interfaces/loopback/node.tag/address/node.def4
5 files changed, 9 insertions, 9 deletions
diff --git a/templates/interfaces/ethernet/node.tag/address/node.def b/templates/interfaces/ethernet/node.tag/address/node.def
index e654928..83ce62f 100644
--- a/templates/interfaces/ethernet/node.tag/address/node.def
+++ b/templates/interfaces/ethernet/node.tag/address/node.def
@@ -1,5 +1,5 @@
multi:
type: ipv4net
help: "Set IPv4 address and prefix for this interface"
-update: "sudo ip addr add $(@) broadcast + dev $(../@)"; "error setting address $(@) on dev $(../@)"
-delete: "sudo ip addr del $(@) dev $(../@)"; "error deleting address $(@) on dev $(../@)"
+update: "sudo ip addr add $(@) broadcast + dev $(../@)"; "Error setting address $(@) on dev $(../@)"
+delete: "sudo ip addr del $(@) dev $(../@)"; "Error deleting address $(@) on dev $(../@)"
diff --git a/templates/interfaces/ethernet/node.tag/mac/node.def b/templates/interfaces/ethernet/node.tag/mac/node.def
index b6b1e5e..ef8fae7 100644
--- a/templates/interfaces/ethernet/node.tag/mac/node.def
+++ b/templates/interfaces/ethernet/node.tag/mac/node.def
@@ -1,4 +1,4 @@
type: macaddr
help: "Set the MAC address of this interface"
-update: "sudo ip link set $(../@) address $(@)"; "error setting MAC address on dev $(../@)"
-delete: "sudo ip link set $(../@) address $(../hw-id/@)"; "error setting MAC address on dev $(../@) to $(../hw-id/@)"
+update: "sudo ip link set $(../@) address $(@)"; "Error setting MAC address on dev $(../@)"
+delete: "sudo ip link set $(../@) address $(../hw-id/@)"; "Error setting MAC address on dev $(../@) to $(../hw-id/@)"
diff --git a/templates/interfaces/ethernet/node.tag/mtu/node.def b/templates/interfaces/ethernet/node.tag/mtu/node.def
index 5f87312..da0a04f 100644
--- a/templates/interfaces/ethernet/node.tag/mtu/node.def
+++ b/templates/interfaces/ethernet/node.tag/mtu/node.def
@@ -1,5 +1,5 @@
type: u32
help: "Set the MTU for this interface"
syntax: $(@) >= 1 && $(@) <= 1500; "MTU must be between 1 and 1500"
-update: "sudo ip link set $(../@) mtu $(@)"; "error setting MTU on dev $(../@)"
-delete: "sudo ip link set $(../@) mtu 1500"; "error deleting MTU on dev $(../@)"
+update: "sudo ip link set $(../@) mtu $(@)"; "Error setting MTU on dev $(../@)"
+delete: "sudo ip link set $(../@) mtu 1500"; "Error deleting MTU on dev $(../@)"
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 c153e82..08bf3ea 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
@@ -2,4 +2,4 @@ multi:
type: ipv4net
help: "Set IPv4 address and prefix for this interface"
update: "sudo ip addr add $(@) dev $(../../@).$(../@)"; "Error setting address $(@) on dev $(../../@).$(../@)"
-delete: "sudo ip addr del $(@) dev $(../../@).$(../@)"; "Error deleteing address $(@) on dev $(../../@).$(../@)"
+delete: "sudo ip addr del $(@) dev $(../../@).$(../@)"; "Error deleting address $(@) on dev $(../../@).$(../@)"
diff --git a/templates/interfaces/loopback/node.tag/address/node.def b/templates/interfaces/loopback/node.tag/address/node.def
index cdef75c..e597676 100644
--- a/templates/interfaces/loopback/node.tag/address/node.def
+++ b/templates/interfaces/loopback/node.tag/address/node.def
@@ -2,5 +2,5 @@ multi:
type: ipv4net
help: "Set IPv4 address and prefix for this interface"
# TODO make sure 127.0.0.0/8 not in here.
-update: "sudo ip addr add $(@) dev $(../@)"; "error setting address $(@) on dev $(../@)"
-delete: "sudo ip addr del $(@) dev $(../@)"; "error deleteing address $(@) on dev $(../@)"
+update: "sudo ip addr add $(@) dev $(../@)"; "Error setting address $(@) on dev $(../@)"
+delete: "sudo ip addr del $(@) dev $(../@)"; "Error deleting address $(@) on dev $(../@)"