forked from extern/shorewall_code
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:
parent
a49bc588cc
commit
e75bac46a1
@ -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
|
||||
|
||||
|
@ -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!
|
||||
#
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user