From 3152f068317b7e52420a05ec8a2bdf3ef97ff6d6 Mon Sep 17 00:00:00 2001 From: Michael Larson Date: Fri, 22 Feb 2008 19:46:00 -0800 Subject: critical fix for bug 2882 :) Now reads "Wan load balancing is not configured" The reason why this stipulates "Wan load balancing" instead of the requested "Load balancing" is that other types of load balancing are expected to be implemented as children under the load-balancing node in the configuration. --- templates/show/wan-load-balance/node.def | 2 +- templates/show/wan-load-balance/status/node.def | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/show/wan-load-balance/node.def b/templates/show/wan-load-balance/node.def index 5c54a9e..37c2954 100644 --- a/templates/show/wan-load-balance/node.def +++ b/templates/show/wan-load-balance/node.def @@ -2,7 +2,7 @@ help: Show wan load-balancing status run: if [ -f /var/load-balance/wlb.out ] ; then cat /var/load-balance/wlb.out else - echo wan load-balance is not configured + echo Wan load balancing is not configured fi diff --git a/templates/show/wan-load-balance/status/node.def b/templates/show/wan-load-balance/status/node.def index 1bcc587..c73fcf9 100644 --- a/templates/show/wan-load-balance/status/node.def +++ b/templates/show/wan-load-balance/status/node.def @@ -2,6 +2,6 @@ help: Show wan load-balancing statistics run: if [ -f /var/load-balance/wlb.out ] ; then sudo ${vyatta_bindir}/sudo-users/iptables -L PREROUTING -t mangle -vv else - echo wan load-balance is not configured + echo Wan load balancing is not configured fi -- cgit v1.2.3