diff options
author | Justin Fletcher <jfletcher@phuket.vyatta.com> | 2007-11-05 14:42:22 -0800 |
---|---|---|
committer | Justin Fletcher <jfletcher@phuket.vyatta.com> | 2007-11-05 14:42:22 -0800 |
commit | d3f68b858599d58f7efe9fa3ebc40ce7e3be51ec (patch) | |
tree | 38531d3584b4bdaf165c03195dd73f9ebe950297 /templates | |
parent | 902f98e233479bb9e8fffa9d158d14739714d48a (diff) | |
download | vyatta-cfg-d3f68b858599d58f7efe9fa3ebc40ce7e3be51ec.tar.gz vyatta-cfg-d3f68b858599d58f7efe9fa3ebc40ce7e3be51ec.zip |
Help string modifications
Diffstat (limited to 'templates')
10 files changed, 16 insertions, 16 deletions
diff --git a/templates/interfaces/ethernet/node.tag/description/node.def b/templates/interfaces/ethernet/node.tag/description/node.def index abd0a26..d457185 100644 --- a/templates/interfaces/ethernet/node.tag/description/node.def +++ b/templates/interfaces/ethernet/node.tag/description/node.def @@ -1,2 +1,2 @@ type: txt -help: "description for this interface" +help: "Description for this interface" diff --git a/templates/interfaces/ethernet/node.tag/duplex/node.def b/templates/interfaces/ethernet/node.tag/duplex/node.def index 91ebc1b..e7e87ad 100644 --- a/templates/interfaces/ethernet/node.tag/duplex/node.def +++ b/templates/interfaces/ethernet/node.tag/duplex/node.def @@ -1,5 +1,5 @@ type: txt -help: "set the duplex for this interface" +help: "Set the duplex mode for this interface" syntax: $(@) in "half", "full"; "duplex must be half or full" commit: $(../speed) != ""; "if duplex is hardcoded, speed must also be hardcoded" update: "sudo ethtool -s $(../@) speed $(../speed/@) duplex $(@) autoneg off" diff --git a/templates/interfaces/ethernet/node.tag/hw-id/node.def b/templates/interfaces/ethernet/node.tag/hw-id/node.def index 6097cff..f0760d6 100644 --- a/templates/interfaces/ethernet/node.tag/hw-id/node.def +++ b/templates/interfaces/ethernet/node.tag/hw-id/node.def @@ -1,2 +1,2 @@ type: macaddr -help: "set the original MAC address for this interface" +help: "Specify the MAC address of this interface" diff --git a/templates/interfaces/ethernet/node.tag/mac/node.def b/templates/interfaces/ethernet/node.tag/mac/node.def index 284c447..b6b1e5e 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 for this interface" +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/@)" diff --git a/templates/interfaces/ethernet/node.tag/mtu/node.def b/templates/interfaces/ethernet/node.tag/mtu/node.def index 4ab7b57..5f87312 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 address for this interface" +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 MAC address on dev $(../@)" -delete: "sudo ip link set $(../@) mtu 1500"; "error deleteing MAC address 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/speed/node.def b/templates/interfaces/ethernet/node.tag/speed/node.def index 58347a6..9f983e1 100644 --- a/templates/interfaces/ethernet/node.tag/speed/node.def +++ b/templates/interfaces/ethernet/node.tag/speed/node.def @@ -1,5 +1,5 @@ type: txt -help: "set the speed for this interface" +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" update: "sudo ethtool -s $(../@) speed $(@) duplex $(../duplex/@) autoneg off" diff --git a/templates/interfaces/ethernet/node.tag/vif/node.def b/templates/interfaces/ethernet/node.tag/vif/node.def index aef81a5..f1edff6 100644 --- a/templates/interfaces/ethernet/node.tag/vif/node.def +++ b/templates/interfaces/ethernet/node.tag/vif/node.def @@ -1,8 +1,8 @@ tag: type: u32 -help: "vlan ID" -syntax: $(@) >= 0 && $(@) <= 4095; "vlan ID must be between 0 and 4095" +help: "VLAN ID" +syntax: $(@) >= 0 && $(@) <= 4095; "VLAN ID must be between 0 and 4095" update: "sudo modprobe 8021q"; "Error loading 802.1q driver" -update: "sudo vconfig add $(../@) $(@)"; "Error adding vlan id $(@) to dev $(../@)" -update: "sudo ip link set $(../@).$(@) up"; "Error enabing vlan id $(@) on dev $(../@)" -delete: "sudo vconfig rem $(../@).$(@)"; "Error removing vlan id $(@) from dev $(../@)" +update: "sudo vconfig add $(../@) $(@)"; "Error adding VLAN id $(@) to dev $(../@)" +update: "sudo ip link set $(../@).$(@) up"; "Error enabling VLAN id $(@) on dev $(../@)" +delete: "sudo vconfig rem $(../@).$(@)"; "Error removing VLAN id $(@) from dev $(../@)" diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/description/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/description/node.def index abd0a26..d457185 100644 --- a/templates/interfaces/ethernet/node.tag/vif/node.tag/description/node.def +++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/description/node.def @@ -1,2 +1,2 @@ type: txt -help: "description for this interface" +help: "Description for this interface" diff --git a/templates/interfaces/loopback/node.def b/templates/interfaces/loopback/node.def index d6e3a81..abc3203 100644 --- a/templates/interfaces/loopback/node.def +++ b/templates/interfaces/loopback/node.def @@ -1,6 +1,6 @@ tag: type: txt -help: "loopback interface name" +help: "Loopback interface name" syntax: exec " \ if [ -z \"`ip addr | grep $(@) `\" ]; then \ echo loopback interface $(@) doesn\\'t exist on this system ; \ diff --git a/templates/interfaces/loopback/node.tag/description/node.def b/templates/interfaces/loopback/node.tag/description/node.def index abd0a26..d457185 100644 --- a/templates/interfaces/loopback/node.tag/description/node.def +++ b/templates/interfaces/loopback/node.tag/description/node.def @@ -1,2 +1,2 @@ type: txt -help: "description for this interface" +help: "Description for this interface" |