From 51d44fcb405fabc7aa8366db54d934a085a628e3 Mon Sep 17 00:00:00 2001 From: teastep Date: Thu, 6 Oct 2005 00:41:24 +0000 Subject: [PATCH] clean up tc4shorewall progress message git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2810 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/firewall | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Shorewall/firewall b/Shorewall/firewall index 6183c33af..bc5333c49 100755 --- a/Shorewall/firewall +++ b/Shorewall/firewall @@ -3126,7 +3126,7 @@ build_exclusion_chain() # $1 = variable to store chain name into $2 = table, $3 setup_traffic_shaping() { - local mtu r2q tc_all_devices device mark rate ceil prio options + local mtu r2q tc_all_devices device mark rate ceil prio options devfile=$(find_file tcdevices) classfile=$(find_file tcclasses) mtu=1500 r2q=10 @@ -3217,7 +3217,7 @@ setup_traffic_shaping() } validate_tcdevices_file() { - echo "Validating tcdevices file..." + echo "Validating $devfile..." local device local device inband outband while read device inband outband; do expandv device inband outband @@ -3234,7 +3234,7 @@ setup_traffic_shaping() } validate_tcclasses_file() { - echo "Validating tcclasses file..." + echo "Validating $classfile..." local classlist device mark rate ceil prio bandw wrongopt allopts opt allopts="" while read device mark rate ceil prio options; do @@ -3306,8 +3306,8 @@ setup_traffic_shaping() # tcp } - strip_file tcdevices - strip_file tcclasses + strip_file tcdevices $devfile + strip_file tcclasses $classfile validate_tcdevices_file validate_tcclasses_file @@ -3315,7 +3315,7 @@ setup_traffic_shaping() if [ $COMMAND != check ]; then if [ -s $TMP_DIR/tcdevices ]; then save_progress_message "Restoring Traffic Control..." - echo "Processing tcdevices..." + echo "Processing $devfile..." while read device inband outband defmark ackmark; do expandv device inband outband defmark ackmark @@ -3326,7 +3326,7 @@ setup_traffic_shaping() fi if [ -s $TMP_DIR/tcclasses ]; then - echo "Processing tcclasses..." + echo "Processing $classfile..." while read device mark rate ceil prio options; do expandv device mark rate ceil prio options