Document use of CONFDIR in /usr/share/shorewall/configpath

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4124 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-06-16 22:26:33 +00:00
parent 6619bd32d8
commit 2cee4cb596
2 changed files with 7 additions and 1 deletions

View File

@ -8639,7 +8639,7 @@ do_initialize() {
SHAREDIR=/usr/share/shorewall
VARDIR=/var/lib/shorewall
[ -z "$EXPORT" ] && CONFDIR=/etc/shorewall || CONFDIR=/usr/share/shorewall/configfiles
[ -z "$EXPORT" ] && CONFDIR=/etc/shorewall || CONFDIR=${SHAREDIR}/configfiles
FUNCTIONS=${SHAREDIR}/functions

View File

@ -3,5 +3,11 @@
#
# /usr/share/shorewall/configpath
#
# Note to maintainers.
#
# The CONFDIR variable is normally set to /etc/shorewall but when
# the command is "compile -e" then CONFDIR is set to
# /usr/share/shorewall/configfiles/. This prevents 'compile -e'
# from trying to use configuration information from /etc/shorewall.
CONFIG_PATH=${CONFDIR}:/usr/share/shorewall