Fix 'refresh' traffic control treatment -- Take 3

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2740 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2005-09-28 19:39:47 +00:00
parent a49bc588cc
commit e75bac46a1
3 changed files with 31 additions and 28 deletions

View File

@ -3827,7 +3827,7 @@ refresh_tc() {
f=$(find_file tcstart)
if [ -x $f ]; then
export CONFIG_PATH
export CONFIG_PATH SHOREWALL_DIR
eval $f
fi

View File

@ -39,7 +39,7 @@
# an alias (e.g., eth0:0) here; see
# http://www.shorewall.net/FAQ.htm#faq18
#
# You man NOT specify wildcards here, e.g. if you
# You may NOT specify wildcards here, e.g. if you
# have multiple ppp interfaces, you need to put
# them all in here!
#

View File

@ -7,12 +7,15 @@
created_tmp_dir=
if [ "$SHOREWALL_LIBRARY" != Loaded ]; then
SHOREWALL_DIR=.
SHARED_DIR=/usr/share/shorewall
FUNCTIONS=$SHARED_DIR/functions
CONFIG_DIR=/etc/shorewall
. $FUNCTIONS
PARAMS=$(find_file params)
[ -f $PARAMS ] && . $PARAMS
ensure_and_save_command()
{
if ! eval $* ; then